DUB: link to local library

JD via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Sep 10 11:03:17 PDT 2014


> 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"
> }
>

I think I recently saw something like:

"dependencies": {
         "dallegro5": { "version": "~master", "path": 
"../path/to/your/lib" }
}

Although I haven't tried it yet.

Bye, Jeroen


More information about the Digitalmars-d-learn mailing list