DIP11: Automatic downloading of libraries

Lars T. Kyllingstad public at kyllingen.NOSPAMnet
Wed Jun 15 06:04:39 PDT 2011


On Wed, 15 Jun 2011 08:57:04 -0400, Steven Schveighoffer wrote:

> On Tue, 14 Jun 2011 16:26:34 -0400, Andrei Alexandrescu
> <SeeWebsiteForEmail at erdani.org> wrote:
>> Would you agree with the setup in which the compiler interacts during
>> compilation with an external executable, placed in the same dir as the
>> compiler, and with this spec?
>>
>> dget "url"
> 
> I'd rather have it be dget "includepath" module1 [module2 module3 ...]
> 
> Then use -I to specify include paths that are url forms.  Then you
> specify the possible network include paths with:
> 
> -Ihttp://path/to/source
> 
> I think this goes well with the current dmd import model.
> 
> dget would be responsible for caching and updating the cache if the
> remote file changes.

++vote;

-Lars


More information about the Digitalmars-d mailing list