nim-chronos/chronos.nimble

27 lines
676 B
Plaintext
Raw Normal View History

packageName = "chronos"
2021-03-02 13:27:42 +00:00
version = "2.6.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
requires "nim > 1.2.0",
"stew",
2021-01-30 18:17:22 +00:00
"bearssl",
2021-02-02 10:51:48 +00:00
"httputils"
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