diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-12-07 12:16:29 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-12-07 12:16:29 +0200 |
commit | 8b55e8151bd69e4ef11a67aff57618193f559618 (patch) | |
tree | e420000affbf3c6d7016470649d2cc711b883c7a /tests/version | |
parent | c092793e74d0778b0aff653860f274c8cc31c374 (diff) |
Add support for specifying minimum required build2 version
The syntax is:
using build@0.1.0-a1
The idea is that we will later also use it for modules and 'build' is
a special, the "build system itself" module.
Also fix a problem with peeking and lexer mode switching.
Diffstat (limited to 'tests/version')
-rw-r--r-- | tests/version/buildfile | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/tests/version/buildfile b/tests/version/buildfile new file mode 100644 index 0000000..eaf2f77 --- /dev/null +++ b/tests/version/buildfile @@ -0,0 +1,31 @@ +#using build@-1.0.0 +#using build@+1.0.0 +#using build@x.0.0 +#using build@1x.0.0 +#using build@1 +#using build@1. +#using build@1.x +#using build@1.1 +#using build@1.1. +#using build@1.1.x +#using build@1.1.100 +#using build@1.1.1~ +#using build@1.1.1-d +#using build@1.1.1-aX +#using build@1.1.1-a0 +#using build@1.1.1-a99 +#using build@1.1.1-a1X +#using build@0.0.0-a1 + +using build@0.0.0 +using build@0.0.1 +using build@0.0.1-a1 +using build@0.0.1-b2 + +#using build@0.1.0 +using build@0.1.0-a1 + +#using build@1.1.0 +#using build@1.1.0-b1 + +./: |