questionable/questionable.nimble
Mark Spanbroek d079162675 Use scope instead of block
To avoid influencing `break` statements.
2022-10-24 13:02:55 +02:00

13 lines
368 B
Nim

version = "0.10.7"
author = "Questionable Authors"
description = "Elegant optional types"
license = "MIT"
task test, "Runs the test suite":
exec "nim c -r tests/testScope"
for module in ["options", "result", "stew"]:
withDir "testmodules/" & module:
delEnv "NIMBLE_DIR" # use nimbledeps dir
exec "nimble install -d -y"
exec "nimble test -y"