dub github dependencies?

2014-09-04 Thread evilrat via Digitalmars-d-learn
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?


Re: dub github dependencies?

2014-09-04 Thread Gary Willoughby via Digitalmars-d-learn

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/


Re: dub github dependencies?

2014-09-04 Thread evilrat via Digitalmars-d-learn
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.