nim-chronos/chronos.nimble

35 lines
793 B
Plaintext
Raw Normal View History

packageName = "chronos"
2019-03-15 02:43:51 +02:00
version = "2.2.1"
2018-05-16 11:22:34 +03:00
author = "Status Research & Development GmbH"
description = "Chronos"
2018-05-16 11:22:34 +03:00
license = "Apache License 2.0 or MIT"
2019-02-06 16:24:57 +01:00
skipDirs = @["tests"]
2018-05-16 11:22:34 +03:00
### Dependencies
2018-05-22 01:07:11 +03:00
requires "nim > 0.18.0"
2018-05-16 11:22:34 +03:00
task test, "Run all tests":
for tfile in @[
"testsync",
"testsoon",
"testtime",
"testfut",
"testsignal",
"testaddress",
"testdatagram",
"teststream",
"testserver",
"testbugs",
]:
for cmd in @[
"nim c -r -d:useSysAssert -d:useGcAssert tests/" & tfile,
"nim c -r tests/" & tfile,
2019-03-15 02:43:51 +02:00
#"nim c -r --gc:markAndSweep tests/" & tfile,
"nim c -r -d:release tests/" & tfile
]:
echo "\n" & cmd
exec cmd
2019-01-15 01:41:18 +01:00
rmFile("tests/" & tfile.toExe())
2018-05-22 11:51:11 +03:00