digitalmars.D.learn - dub github dependencies?
- evilrat (13/13) Sep 04 2014 how i can specify github repo & branch? i've already tried adding
- Gary Willoughby (2/15) Sep 04 2014 Packages have to exist on http://code.dlang.org/
- evilrat (6/21) Sep 04 2014 not really, first off, cairod already in dub registry, and
how i can specify github repo & branch? i've already tried adding everything i have in mind but no luck so far. so in theory it should be like this: -------------- dub.json "dependencies": { "cairod": {"version": "~ReworkWin32", "path": "https://github.com/evilrat666/cairoD.git"} } ------------ but it says missing package description, while it obviuosly there... any suggestions? i know i could use local clone but what if someone else need to use it?
Sep 04 2014
On Thursday, 4 September 2014 at 16:43:13 UTC, evilrat wrote:how i can specify github repo & branch? i've already tried adding everything i have in mind but no luck so far. so in theory it should be like this: -------------- dub.json "dependencies": { "cairod": {"version": "~ReworkWin32", "path": "https://github.com/evilrat666/cairoD.git"} } ------------ but it says missing package description, while it obviuosly there... any suggestions? i know i could use local clone but what if someone else need to use it?Packages have to exist on http://code.dlang.org/
Sep 04 2014
On Thursday, 4 September 2014 at 17:22:42 UTC, Gary Willoughby wrote:On Thursday, 4 September 2014 at 16:43:13 UTC, evilrat wrote:not really, first off, cairod already in dub registry, and second, you can set path to anywhere on local FS as long as it is dub package(how do you suppose subpackages work then?), but unfortunately it doesn't works with github that way.how i can specify github repo & branch? i've already tried adding everything i have in mind but no luck so far. so in theory it should be like this: -------------- dub.json "dependencies": { "cairod": {"version": "~ReworkWin32", "path": "https://github.com/evilrat666/cairoD.git"} } ------------ but it says missing package description, while it obviuosly there... any suggestions? i know i could use local clone but what if someone else need to use it?Packages have to exist on http://code.dlang.org/
Sep 04 2014