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