GtkD Blog Now Up and Running
doob at me.com
Wed Jan 30 20:09:16 UTC 2019
On 2019-01-30 03:00, Neia Neutuladh wrote:
> Might I recommend instead:
> dependency "gtk-d" version="3.8.5"
> This depends on gtk-d 3.8.5 and only that version. If there is a breaking
> change in 3.8.6 despite semantic versioning, your code keeps working.
> In libraries, I prefer using ~> to give more freedom to people depending
> on my code. But in applications, that isn't a concern. May as well only
> allow the code to be built with the versions of your dependencies that
> you've actually tested.
That's what the dub.selections.json file is for. It will lock down the
version of all dependencies, direct and indirect dependencies.
For applications the dub.selections.json should be under version
control, while for libraries it should be ignored.
More information about the Digitalmars-d-announce