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"
|
|
|
|
|
2018-05-22 10:18:35 +00:00
|
|
|
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"
|
|
|
|
|
2018-05-25 01:05:13 +00:00
|
|
|
exec "nim c -r -d:useSysAssert -d:useGcAssert tests/testsignal"
|
|
|
|
exec "nim c -r tests/testsignal"
|
|
|
|
exec "nim c -r -d:release tests/testsignal"
|
|
|
|
|
2018-05-22 10:18:35 +00:00
|
|
|
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"
|
2018-05-22 15:21:58 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
2018-05-31 08:10:32 +00:00
|
|
|
exec "nim c -r -d:useSysAssert -d:useGcAssert tests/testserver"
|
|
|
|
exec "nim c -r tests/testserver"
|
|
|
|
exec "nim c -r -d:release tests/testserver"
|