On Dub

rsw0x via Digitalmars-d digitalmars-d at puremagic.com
Sun Jan 17 08:16:57 PST 2016


On Sunday, 17 January 2016 at 15:34:13 UTC, Russel Winder wrote:
> On Sun, 2016-01-17 at 12:39 +0000, rsw0x via Digitalmars-d 
> wrote:
>> 
> […]
>> It wouldn't be a very big change to just adhere to $DUBPPATH 
>> if it exists, which seems to be your major gripe about Go vs 
>> Dub.
>
> My gripe is that Dub is neither Cargo (doesn't have install, 
> compiles
> in the project) nor Go (installs to a known place determined by
> environment variable, compiles to a known place – or a 
> transitory place
> somewhere temporary).
>
> Currently I am favouring the Go way rather than the Cargo way. 
> Obviously SCons and CMake have a far better story on all this 
> making and installing, but they do not do dependency management.
>
> If Dub was changed to use environment variables to specify 
> where compilation products went rather than just putting it in 
> ~/.dub, and there was a way of installing executables to a 
> place specified by an install variable, then things would be 
> nicer.

The cargo-like behavior(I believe?) is almost implemented, 
there's a single issue left that would enable a flag so that dub 
just stores everything in a .dub/ folder in the current project 
directory.

See this issue
https://github.com/D-Programming-Language/dub/issues/319


More information about the Digitalmars-d mailing list