2019-02-06 14:49:11 +00:00
|
|
|
packageName = "chronos"
|
2019-10-29 21:19:41 +00:00
|
|
|
version = "2.3.3"
|
2018-05-16 08:22:34 +00:00
|
|
|
author = "Status Research & Development GmbH"
|
2019-02-06 14:49:11 +00:00
|
|
|
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
|
|
|
|
|
2019-10-08 15:46:27 +00:00
|
|
|
requires "nim > 0.19.4",
|
|
|
|
"bearssl"
|
2018-05-16 08:22:34 +00:00
|
|
|
|
|
|
|
task test, "Run all tests":
|
2019-03-30 22:31:10 +00: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 16:57:36 +00:00
|
|
|
]
|
2019-03-30 22:31:10 +00:00
|
|
|
echo "\n" & commands[0]
|
|
|
|
exec commands[0]
|
|
|
|
echo "\n" & commands[1]
|
|
|
|
exec commands[1]
|
|
|
|
echo "\n" & commands[2]
|
|
|
|
exec commands[2]
|