|
|
@ -67,8 +67,9 @@ Version constraints can be specified in a few different ways.
|
|
|
|
example `1.0.2`. This is not used very often, but can be useful.
|
|
|
|
example `1.0.2`. This is not used very often, but can be useful.
|
|
|
|
|
|
|
|
|
|
|
|
* **Range:** By using comparison operators you can specify ranges of valid
|
|
|
|
* **Range:** By using comparison operators you can specify ranges of valid
|
|
|
|
versions. Valid operators are `>`, `>=`, `<`, `<=`. An example range would be
|
|
|
|
versions. Valid operators are `>`, `>=`, `<`, `<=`, `!=`. An example range
|
|
|
|
`>=1.0`. You can define multiple ranges, separated by a comma: `>=1.0,<2.0`.
|
|
|
|
would be `>=1.0`. You can define multiple ranges, separated by a comma:
|
|
|
|
|
|
|
|
`>=1.0,<2.0`.
|
|
|
|
|
|
|
|
|
|
|
|
* **Wildcard:** You can specify a pattern with a `*` wildcard. `1.0.*` is the
|
|
|
|
* **Wildcard:** You can specify a pattern with a `*` wildcard. `1.0.*` is the
|
|
|
|
equivalent of `>=1.0,<1.1-dev`.
|
|
|
|
equivalent of `>=1.0,<1.1-dev`.
|
|
|
|