dub + local dependencies
Mike Parker via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Wed Jul 5 17:12:25 PDT 2017
On Thursday, 6 July 2017 at 00:09:46 UTC, Mike Parker wrote:
>
> You have a few options:
>
> * Use a path dependency:
> "dependencies": {
> "xyz": { "path": "path/to/xyz" }
> }
>
> * Use add-local with a version on the command line:
> dub add-local path/to/xyz 0.0.1
>
> * Use add-local or add-paths and specify a version as described
> by `dub add-paths -h`
Sorry -- extraneous `s` on the `path` bit.
And for the record:
https://code.dlang.org/docs/commandline#add-local
https://code.dlang.org/docs/commandline#add-path
https://code.dlang.org/package-format?lang=json#version-specs
More information about the Digitalmars-d-learn
mailing list