DUB: link to local library

rcor via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Sep 10 10:22:12 PDT 2014


On Wednesday, 10 September 2014 at 16:26:07 UTC, andre wrote:
> Dub command line supports something like Dub add-local. Then 
> you can use the package directly.
>
> Kind regards
> Andre

DAllegro5 doesn't have an official dub package yet, but I threw 
together one that could build the library and added it with `dub 
add-local`. It now shows up in
`dub list`, but adding:

"dependencies": {
   "dallegro5": "~master"
}

doesn't seem to change anything.

I think the dub.json I put in dallegro5 works, because the 
library it produces can be used to run the example with dmd.


More information about the Digitalmars-d-learn mailing list