Idris2/tests/idris2/pkg006/test2.ipkg
Edwin Brady 1d8166b1b2 Version number constraints in 'depends' field
Now reporting an error if we can't find a package that satisfies the
constraints. The version number field can still be a string (as it used
to be) but will give a deprecation warning - and the old style version
string wasn't used anyway.

Version constraints can have an upper and/or lower bound, which can be
inclusive or not.
2021-02-27 17:58:52 +00:00

5 lines
65 B
Plaintext

package test2
depends = foo >= 0.5 && < 0.6,
bar >= 1