2018-05-16 08:22:34 +00:00
|
|
|
packageName = "asyncdispatch2"
|
2018-07-31 09:50:22 +00:00
|
|
|
version = "2.0.6"
|
2018-05-16 08:22:34 +00:00
|
|
|
author = "Status Research & Development GmbH"
|
|
|
|
description = "Asyncdispatch2"
|
|
|
|
license = "Apache License 2.0 or MIT"
|
2018-06-18 20:57:40 +00:00
|
|
|
skipDirs = @["tests", "Nim", "nim", "benchmarks"]
|
2018-05-16 08:22:34 +00:00
|
|
|
|
|
|
|
### 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"
|
2018-07-25 18:15:46 +00:00
|
|
|
exec "nim c -r --gc:markAndSweep tests/testsync"
|
2018-05-22 08:51:11 +00:00
|
|
|
exec "nim c -r -d:release tests/testsync"
|
|
|
|
|
2018-07-25 18:15:46 +00:00
|
|
|
|
2018-05-22 10:18:35 +00:00
|
|
|
exec "nim c -r -d:useSysAssert -d:useGcAssert tests/testsoon"
|
|
|
|
exec "nim c -r tests/testsoon"
|
2018-07-25 18:15:46 +00:00
|
|
|
exec "nim c -r --gc:markAndSweep tests/testsoon"
|
2018-05-22 10:18:35 +00:00
|
|
|
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"
|
2018-07-25 18:15:46 +00:00
|
|
|
exec "nim c -r --gc:markAndSweep tests/testtime"
|
2018-05-22 22:29:07 +00:00
|
|
|
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"
|
2018-07-25 18:15:46 +00:00
|
|
|
exec "nim c -r --gc:markAndSweep tests/testfut"
|
2018-05-22 23:28:16 +00:00
|
|
|
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"
|
2018-07-25 18:15:46 +00:00
|
|
|
exec "nim c -r --gc:markAndSweep tests/testsignal"
|
2018-05-25 01:05:13 +00:00
|
|
|
exec "nim c -r -d:release tests/testsignal"
|
|
|
|
|
2018-06-02 14:25:26 +00:00
|
|
|
exec "nim c -r -d:useSysAssert -d:useGcAssert tests/testaddress"
|
|
|
|
exec "nim c -r tests/testaddress"
|
2018-07-25 18:15:46 +00:00
|
|
|
exec "nim c -r --gc:markAndSweep tests/testaddress"
|
2018-06-02 14:25:26 +00:00
|
|
|
exec "nim c -r -d:release tests/testaddress"
|
|
|
|
|
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-07-25 18:15:46 +00:00
|
|
|
exec "nim c -r --gc:markAndSweep 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"
|
2018-07-25 18:15:46 +00:00
|
|
|
exec "nim c -r --gc:markAndSweep tests/teststream"
|
2018-05-22 15:21:58 +00:00
|
|
|
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"
|
2018-07-25 18:15:46 +00:00
|
|
|
exec "nim c -r --gc:markAndSweep tests/testserver"
|
2018-05-31 08:10:32 +00:00
|
|
|
exec "nim c -r -d:release tests/testserver"
|