Clone
Cédric Champeau
committed
on 13 Sep
Introduce shorthand notation for strict versions
This commit introduces a modifier (!!) that can be
used in version strings to introduce a s… Show more
Introduce shorthand notation for strict versions

This commit introduces a modifier (!!) that can be

used in version strings to introduce a strict version.

For example, the following notation:

  org:foo:1.0!!

is equivalent to:

  version { strictly '1.0' }

And this notation:

  org:foo:[1.0,2.0]!!1.5

is equivalent to:

  version {

     strictly '[1.0, 2.0]'

     prefer '1.5'

  }

Show less