dub + local dependencies

Jolly James via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Jul 5 08:34:36 PDT 2017


> WARNING: A deprecated branch based version specification is 
> used for the dependency xyz.
> Please use numbered versions instead.
> Also note that you can still use the dub.selections.json file 
> to override a certain dependency to use a branch instead.


The problem is: xyz is a local package and therefor I don't know 
how to specify its version. So in the dub.json of the package abc 
requiring xyz is written:


>	"dependencies": {
>		"xyz": "~master"
>	},


Is there a cleaner solution?


More information about the Digitalmars-d-learn mailing list