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 10:18:35 +00:00
|
|
|
exec "nim c -r -d:useSysAssert -d:useGcAssert tests/testdatagram"
|
|
|
|
exec "nim c -r tests/teststream"
|
2018-05-21 22:38:13 +00:00
|
|
|
exec "nim c -r -d:release tests/testdatagram"
|