Mark Spanbroek 1569ef4526 Fix tests for stew with Nim < 1.6
Stew now requires a Nim >= 1.6, so this disables
testing stew with earlier Nim versions.
2023-07-28 09:57:51 +02:00

14 lines
354 B
Nim

version = "0.1.0"
author = "Questionable Authors"
description = "Questionable tests for pkg/stew"
license = "MIT"
when (NimMajor, NimMinor) >= (1, 6):
requires "stew"
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"