nim-chronos/chronos.nimble

24 lines
561 B
Nim

packageName = "chronos"
version = "2.2.7"
author = "Status Research & Development GmbH"
description = "Chronos"
license = "Apache License 2.0 or MIT"
skipDirs = @["tests"]
### Dependencies
requires "nim > 0.18.0"
task test, "Run all tests":
var commands = [
"nim c -r -d:useSysAssert -d:useGcAssert tests/testall",
"nim c -r tests/testall",
"nim c -r -d:release tests/testall"
]
echo "\n" & commands[0]
exec commands[0]
echo "\n" & commands[1]
exec commands[1]
echo "\n" & commands[2]
exec commands[2]