dub + local dependencies
Jolly James via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Thu Jul 6 06:35:04 PDT 2017
On Thursday, 6 July 2017 at 00:12:25 UTC, Mike Parker wrote:
> 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
thx
More information about the Digitalmars-d-learn
mailing list