make nimble file consistent with CI setup (#147)
This commit is contained in:
parent
3696e3f3a5
commit
2c3ae3137f
|
@ -1,5 +1,5 @@
|
|||
## nim-websock
|
||||
## Copyright (c) 2021 Status Research & Development GmbH
|
||||
## Copyright (c) 2023 Status Research & Development GmbH
|
||||
## Licensed under either of
|
||||
## * Apache License, version 2.0, ([LICENSE-APACHE](LICENSE-APACHE))
|
||||
## * MIT license ([LICENSE-MIT](LICENSE-MIT))
|
||||
|
@ -14,7 +14,7 @@ description = "WS protocol implementation"
|
|||
license = "MIT"
|
||||
skipDirs = @["examples", "tests"]
|
||||
|
||||
requires "nim >= 1.2.0" # nimble will fail to install nim-websock if we are using 1.2.6 here
|
||||
requires "nim >= 1.6.0"
|
||||
requires "chronos >= 3.0.0"
|
||||
requires "httputils >= 0.2.0"
|
||||
requires "chronicles >= 0.10.2"
|
||||
|
@ -26,14 +26,9 @@ requires "zlib"
|
|||
task test, "run tests":
|
||||
let
|
||||
envNimflags = getEnv("NIMFLAGS")
|
||||
styleCheckStyle =
|
||||
if (NimMajor, NimMinor) < (1, 6):
|
||||
"hint"
|
||||
else:
|
||||
"error"
|
||||
nimFlags = envNimFlags &
|
||||
" --verbosity:0 --hints:off --hint:Name:on " &
|
||||
"--styleCheck:usages --styleCheck:" & styleCheckStyle &
|
||||
"--styleCheck:usages --styleCheck:error" &
|
||||
" -d:chronosStrictException"
|
||||
|
||||
# dont't need to run it, only want to test if it is compileable
|
||||
|
|
Loading…
Reference in New Issue