make nimble file consistent with test matrix (#60)
This commit is contained in:
parent
c23b49910d
commit
7e8d46ccf9
|
@ -7,7 +7,7 @@ description = "A modern and extensible serialization framework for Nim"
|
||||||
license = "Apache License 2.0"
|
license = "Apache License 2.0"
|
||||||
skipDirs = @["tests"]
|
skipDirs = @["tests"]
|
||||||
|
|
||||||
requires "nim >= 1.2.0",
|
requires "nim >= 1.6.0",
|
||||||
"faststreams",
|
"faststreams",
|
||||||
"unittest2",
|
"unittest2",
|
||||||
"stew"
|
"stew"
|
||||||
|
@ -17,9 +17,8 @@ let lang = getEnv("NIMLANG", "c") # Which backend (c/cpp/js)
|
||||||
let flags = getEnv("NIMFLAGS", "") # Extra flags for the compiler
|
let flags = getEnv("NIMFLAGS", "") # Extra flags for the compiler
|
||||||
let verbose = getEnv("V", "") notin ["", "0"]
|
let verbose = getEnv("V", "") notin ["", "0"]
|
||||||
|
|
||||||
let styleCheckStyle = if (NimMajor, NimMinor) < (1, 6): "hint" else: "error"
|
|
||||||
let cfg =
|
let cfg =
|
||||||
" --styleCheck:usages --styleCheck:" & styleCheckStyle &
|
" --styleCheck:usages --styleCheck:error" &
|
||||||
(if verbose: "" else: " --verbosity:0 --hints:off") &
|
(if verbose: "" else: " --verbosity:0 --hints:off") &
|
||||||
" --skipParentCfg --skipUserCfg --outdir:build --nimcache:build/nimcache -f"
|
" --skipParentCfg --skipUserCfg --outdir:build --nimcache:build/nimcache -f"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue