On Dub
Martin Nowak via Digitalmars-d
digitalmars-d at puremagic.com
Sun Jan 17 10:53:22 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.
Well run already runs the binary, so you can just use that `dub
run myprog -- args`.
Anything that installs binaries to some common `.dub/bin` path
will have to deal with colliding binaries, different versions of
packages, and w/ shared libraries in the package folders or
somewhere else.
If you figured out all of this, here is the install command
https://github.com/D-Programming-Language/dub/blob/fe02126ea2ca7d58eab31797d4efe4a8b4878c9b/source/dub/commandline.d#L1131.
More information about the Digitalmars-d
mailing list