Closed aka-demik closed 9 years ago
Could you have a look where dub parses or compares a package's version? https://github.com/D-Programming-Language/dub/blob/master/source/dub/semver.d okay :D
Maybe to not duplicate the DUB implementation, read the selected version from the file "dub.selections.json"?
Or better yet, read the output of dub describe
. This command prints the json with complete list of used packages.
Thank you.
I tested some cases successfully, I hope they gonna work for most of the other use cases.
When I open a dub-project using vibe.d, in the external dependencies loaded version vibe-d-0.7.21. But in my dub.json:
"vibe-d" : "~> 0.7.23"
. And when building dub using "0.7.23". Naturally, the problem occurs only if I have multiple versions of vibe.d installed.