How dub select versions?

Daniel Kozak via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Oct 5 01:40:28 PDT 2016


That makes sense :). Thanks


Dne 5.10.2016 v 10:27 Mike Parker via Digitalmars-d-learn napsal(a):
> On Wednesday, 5 October 2016 at 08:23:25 UTC, Mike Parker wrote:
>>
>>
>> The ~> constrains the dependency to the minor version number, meaning 
>> DUB will not try to use a version of the dependency that has a higher 
>> minor version.
>
> Oh, that came out wrong. TO be clear for anyone who doesn't read the 
> linked wiki page in detail:
>
> The ~> constrains the dependency to the minor version number when used 
> with the n.n.n format. It constrains to the major version when using 
> n.n (e.g. ~>1.0 is the same as >=1.0 && <2.0).



More information about the Digitalmars-d-learn mailing list