Dub command line knowledge sought

Nicholas Wilson via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Jun 23 01:11:05 PDT 2017


On Friday, 23 June 2017 at 07:51:51 UTC, Russel Winder wrote:
> I am likely just staring at and missing the data needed:
>
> How does one invoke dub to fetch and build, and put into a 
> place other that ~/.dub/… a package from Dub?

dub fetch foo --version=1.0.0
mv ~/.dub/packages/foo-1.0.0 /desired/path
dub add-path /desired/path

dunno about how to do that in one step.


More information about the Digitalmars-d-learn mailing list