nim-chronos/asyncdispatch2.nimble

40 lines
1.3 KiB
Plaintext
Raw Normal View History

2018-05-16 08:22:34 +00:00
packageName = "asyncdispatch2"
2018-05-21 22:23:21 +00:00
version = "2.0.1"
2018-05-16 08:22:34 +00:00
author = "Status Research & Development GmbH"
description = "Asyncdispatch2"
license = "Apache License 2.0 or MIT"
skipDirs = @["tests", "Nim", "nim"]
### 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":
2018-05-22 08:51:11 +00:00
exec "nim c -r -d:useSysAssert -d:useGcAssert tests/testsync"
exec "nim c -r tests/testsync"
exec "nim c -r -d:release tests/testsync"
exec "nim c -r -d:useSysAssert -d:useGcAssert tests/testsoon"
exec "nim c -r tests/testsoon"
exec "nim c -r -d:release tests/testsoon"
2018-05-22 08:51:11 +00:00
2018-05-22 22:29:07 +00:00
exec "nim c -r -d:useSysAssert -d:useGcAssert tests/testtime"
exec "nim c -r tests/testtime"
exec "nim c -r -d:release tests/testtime"
2018-05-22 23:28:16 +00:00
exec "nim c -r -d:useSysAssert -d:useGcAssert tests/testfut"
exec "nim c -r tests/testfut"
exec "nim c -r -d:release tests/testfut"
exec "nim c -r -d:useSysAssert -d:useGcAssert tests/testdatagram"
2018-05-22 12:08:48 +00:00
exec "nim c -r tests/testdatagram"
2018-05-21 22:38:13 +00:00
exec "nim c -r -d:release tests/testdatagram"
exec "nim c -r -d:useSysAssert -d:useGcAssert tests/teststream"
exec "nim c -r tests/teststream"
exec "nim c -r -d:release tests/teststream"
2018-05-23 11:03:18 +00:00
exec "nim c -r -d:useSysAssert -d:useGcAssert tests/teststream2"
exec "nim c -r tests/teststream2"
exec "nim c -r -d:release tests/teststream2"