nim-chronos/chronos.nimble

26 lines
654 B
Plaintext
Raw Normal View History

packageName = "chronos"
version = "2.5.2"
2018-05-16 08:22:34 +00:00
author = "Status Research & Development GmbH"
description = "Chronos"
2018-05-16 08:22:34 +00:00
license = "Apache License 2.0 or MIT"
2019-02-06 15:24:57 +00:00
skipDirs = @["tests"]
2018-05-16 08:22:34 +00:00
### Dependencies
requires "nim > 1.2.0",
"stew",
"bearssl"
2018-05-16 08:22:34 +00:00
task test, "Run all tests":
var commands = [
"nim c -r -d:useSysAssert -d:useGcAssert tests/",
"nim c -r -d:chronosStackTrace tests/",
"nim c -r -d:release tests/",
"nim c -r -d:release -d:chronosFutureTracking tests/"
]
for testname in ["testall"]:
for cmd in commands:
let curcmd = cmd & testname
echo "\n" & curcmd
exec curcmd