2020-12-01 18:13:59 +05:30
|
|
|
packageName = "ws"
|
|
|
|
version = "0.1.0"
|
|
|
|
author = "Status Research & Development GmbH"
|
|
|
|
description = "WS protocol implementation"
|
|
|
|
license = "MIT"
|
2021-04-14 03:35:58 +05:30
|
|
|
skipDirs = @["examples", "test"]
|
2020-12-01 18:13:59 +05:30
|
|
|
|
2021-04-14 03:35:58 +05:30
|
|
|
requires "nim >= 1.2.6"
|
2021-04-05 12:22:10 -06:00
|
|
|
requires "chronos >= 3.0.0"
|
2020-12-08 01:17:45 +05:30
|
|
|
requires "httputils >= 0.2.0"
|
|
|
|
requires "chronicles >= 0.10.0"
|
2021-03-11 09:04:14 +05:30
|
|
|
requires "stew >= 0.1.0"
|
|
|
|
requires "asynctest >= 0.2.0 & < 0.3.0"
|
|
|
|
requires "nimcrypto"
|
2021-04-14 03:35:58 +05:30
|
|
|
requires "bearssl"
|
2020-12-01 18:13:59 +05:30
|
|
|
|
2021-03-18 09:30:21 -06:00
|
|
|
task test, "run tests":
|
2021-06-11 18:40:56 -06:00
|
|
|
exec "nim --hints:off c -r --opt:speed -d:debug --verbosity:0 --hints:off -d:chronicles_log_level=info ./tests/testcommon.nim"
|
2021-05-31 20:39:14 -06:00
|
|
|
rmFile "./tests/testcommon"
|
|
|
|
|
2021-06-11 18:40:56 -06:00
|
|
|
exec "nim --hints:off c -r --opt:speed -d:debug --verbosity:0 --hints:off -d:chronicles_log_level=info ./tests/testwebsockets.nim"
|
2021-05-31 20:39:14 -06:00
|
|
|
rmFile "./tests/testwebsockets"
|
|
|
|
|
2021-06-11 18:40:56 -06:00
|
|
|
exec "nim --hints:off -d:secure c -r --opt:speed -d:debug --verbosity:0 --hints:off -d:chronicles_log_level=info ./tests/testwebsockets.nim"
|
2021-05-31 20:39:14 -06:00
|
|
|
rmFile "./tests/testwebsockets"
|