Make dub part of the standard dmd distribution

Steven Schveighoffer via Digitalmars-d digitalmars-d at puremagic.com
Mon Jun 1 08:16:33 PDT 2015


On 5/31/15 7:01 PM, Andrei Alexandrescu wrote:
> Let's make this part of 2.068:
>
> https://issues.dlang.org/show_bug.cgi?id=14636
>
> It's preapproved. Who would want to work on it?

Just a reminder to everyone that at one point, we wanted the compiler to 
do kind of what 'dub' does -- fetch packages as dependencies for a 
project. Remember this DIP? http://wiki.dlang.org/DIP11

The problem I have with dub is it makes you as a consumer of libraries 
live within its realm. You have to make a dub file to use it, and that's 
not a small burden.

That being said, can we get a tool that does what DIP11 asked for by 
using dub? We do have quite a large repository of code that's 
dub-enabled, and I have no problem requiring extra steps for *libraries* 
to make them usable with this system. Basically, a builder that says 
"hey, if dmd (or whatever) cannot find an import, see if dub can do it, 
and then use dub to download the package".

-Steve


More information about the Digitalmars-d mailing list