mirror of
https://github.com/logos-storage/questionable.git
synced 2026-01-07 00:03:10 +00:00
Fix tests for stew with Nim < 1.6
Stew now requires a Nim >= 1.6, so this disables testing stew with earlier Nim versions.
This commit is contained in:
parent
b3cf35ac45
commit
cd1fef027c
@ -3,7 +3,11 @@ author = "Questionable Authors"
|
|||||||
description = "Questionable tests for pkg/stew"
|
description = "Questionable tests for pkg/stew"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
|
||||||
requires "stew"
|
when (NimMajor, NimMinor) >= (1, 6):
|
||||||
|
requires "stew"
|
||||||
|
|
||||||
task test, "Runs the test suite":
|
task test, "Runs the test suite":
|
||||||
exec "nim c -f -r --skipParentCfg test.nim"
|
exec "nim c -f -r --skipParentCfg test.nim"
|
||||||
|
else:
|
||||||
|
task test, "Runs the test suite":
|
||||||
|
echo "Warning: Skipping test with stew on Nim < 1.6"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user