Local library with dub
Mike Parker
aldacron at gmail.com
Wed Apr 21 00:39:41 UTC 2021
On Tuesday, 20 April 2021 at 18:43:28 UTC, JG wrote:
>
> This still leaves open the question of how to include a version
> of such a library in another project via dub.
Execute `dub add-local` followed by the path to the project's
root directory (the directory containing the `dub.json/sdl`) and
a version number in semver format.
```
dub add-local path 0.1.0
```
Then you can use the package just as you would any other dub
dependency.
More information about the Digitalmars-d-learn
mailing list