nim-chronos/chronos.nimble

24 lines
561 B
Plaintext
Raw Normal View History

packageName = "chronos"
version = "2.2.6"
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
2018-05-21 22:07:11 +00:00
requires "nim > 0.18.0"
2018-05-16 08:22:34 +00:00
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]