dub icon indicating copy to clipboard operation
dub copied to clipboard

using path + version in dependency should cause error since version is not used

Open timotheecour opened this issue 7 years ago • 1 comments

cd path/to/GtkD git branch shows no dev branch yet:

"gtk-d": {"path": "path/to/GtkD", "version": "~dev",},

doesn't complain; we shoul error instead of silently accepting this (until dub honors version branch, that is)

timotheecour avatar Feb 20 '18 22:02 timotheecour

Found this when implementing the parser. It would be fairly trivial to deprecate but IIRC it wasn't rare: https://github.com/dlang/dub/blob/56077da3a269299ab661215d0112364052deab6a/source/dub/recipe/packagerecipe.d#L356-L360

Geod24 avatar Dec 29 '23 00:12 Geod24