2019-02-06 15:49:11 +01:00
|
|
|
packageName = "chronos"
|
2019-07-05 00:03:19 +03:00
|
|
|
version = "2.2.7"
|
2018-05-16 11:22:34 +03:00
|
|
|
author = "Status Research & Development GmbH"
|
2019-02-06 15:49:11 +01:00
|
|
|
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":
|
2019-03-31 00:31:10 +02:00
|
|
|
var commands = [
|
|
|
|
"nim c -r -d:useSysAssert -d:useGcAssert tests/testall",
|
|
|
|
"nim c -r tests/testall",
|
|
|
|
"nim c -r -d:release tests/testall"
|
2019-03-24 18:57:36 +02:00
|
|
|
]
|
2019-03-31 00:31:10 +02:00
|
|
|
echo "\n" & commands[0]
|
|
|
|
exec commands[0]
|
|
|
|
echo "\n" & commands[1]
|
|
|
|
exec commands[1]
|
|
|
|
echo "\n" & commands[2]
|
|
|
|
exec commands[2]
|