mirror of
https://github.com/logos-storage/questionable.git
synced 2026-01-04 23:03:12 +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
1569ef4526
@ -3,7 +3,11 @@ author = "Questionable Authors"
|
||||
description = "Questionable tests for pkg/stew"
|
||||
license = "MIT"
|
||||
|
||||
requires "stew"
|
||||
when (NimMajor, NimMinor) >= (1, 6):
|
||||
requires "stew"
|
||||
|
||||
task test, "Runs the test suite":
|
||||
exec "nim c -f -r --skipParentCfg test.nim"
|
||||
task test, "Runs the test suite":
|
||||
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