On Dub
rsw0x via Digitalmars-d
digitalmars-d at puremagic.com
Sun Jan 17 04:04:48 PST 2016
On Sunday, 17 January 2016 at 11:21:41 UTC, Russel Winder wrote:
> Dub has a "run" capability, but apparently no "install" one.
> Also it appears to leave compilation products inside the ~/.dub
> directory.
>
> Go puts compiled executables into $GOPATH/bin or $GOBIN and
> packages in $GOPATH/pkg which separates nicely downloaded
> repository clones from compilation products.
>
> Cargo puts compilation products into the using project tree and
> not the ~/.cargo tree.
>
> For me, wanting to use ~/.dub, with three different
> architectures,
> having compilation products in that directory is a bad idea.
> Whilst go
> and cargo have different solutions to this, both are better
> than what
> dub currently appears to do. Unless I am missing something…
dub should be using the $XDG_CACHE_HOME/dub (or $HOME/.cache/dub
if it's not set) for storing build files to abide by XDG
standards.
More information about the Digitalmars-d
mailing list