nim-chronos/chronos.nimble

25 lines
637 B
Plaintext
Raw Normal View History

packageName = "chronos"
2020-07-12 16:20:21 +00:00
version = "2.5.0"
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
2020-07-12 16:20:21 +00:00
requires "nim > 1.2.0"
"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