Thread overview
dub github dependencies?
Sep 04, 2014
evilrat
Sep 04, 2014
Gary Willoughby
Sep 05, 2014
evilrat
September 04, 2014
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?
September 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/
September 05, 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:
>> 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/

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.