mirror of
https://github.com/status-im/nim-chronos.git
synced 2025-02-07 17:05:41 +00:00
2c2e2f7fad
Add IpNet and IpMask. Add TTL setting for UDP transports with {Broadcast}. Fix comments. Add tests. Bump version to 2.2.5.
24 lines
561 B
Nim
24 lines
561 B
Nim
packageName = "chronos"
|
|
version = "2.2.5"
|
|
author = "Status Research & Development GmbH"
|
|
description = "Chronos"
|
|
license = "Apache License 2.0 or MIT"
|
|
skipDirs = @["tests"]
|
|
|
|
### Dependencies
|
|
|
|
requires "nim > 0.18.0"
|
|
|
|
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]
|