Is it possbile to specify a remote git repo as dub dependency?

Guillaume Piolat via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Dec 19 08:23:45 PST 2016


On Monday, 19 December 2016 at 14:45:07 UTC, biocyberman wrote:
>
> I see, it is both a good thing and a bad thing. Good thing is 
> to encourage developers to submit packages to central dub 
> registry. Bad thing is, when that does not happen soon enough, 
> other developers who use the package will have to do something 
> for themselves.

What you can do for private package as of today is:

- use path-based dependencies and put your packages in the same 
repo
- use git submodules and path-based dub dependencies together

If it's a public package, you can register yourself on the DUB 
repositery.


More information about the Digitalmars-d-learn mailing list