On 2016-06-20 17:01, ParticlePeter wrote:
Hello,
I am developing a librarymyLib
and simultaneously use this library in another custom dub project "myExe". The easiest thing for me would be to referencemyLib
inmyExe
dub.json
with:"myLib" : "~master"
, but this gives my the warning:WARNING: A deprecated branch based version specification is used ...
The way I do this when both projects change quite a lot is to use a
local path for the library dependency [1]:
"dependencies": {
"lib": { "path": "some/local/path" }
}
They you don't need to commit, push or tag anything. Of course I don't
commit that change.
[1] http://code.dlang.org/package-format?lang=json#version-specs
/Jacob Carlborg