diff --git a/serialization.nimble b/serialization.nimble index 99c1bc6..2a7a037 100644 --- a/serialization.nimble +++ b/serialization.nimble @@ -7,7 +7,7 @@ description = "A modern and extensible serialization framework for Nim" license = "Apache License 2.0" skipDirs = @["tests"] -requires "nim >= 1.2.0", +requires "nim >= 1.6.0", "faststreams", "unittest2", "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 verbose = getEnv("V", "") notin ["", "0"] -let styleCheckStyle = if (NimMajor, NimMinor) < (1, 6): "hint" else: "error" let cfg = - " --styleCheck:usages --styleCheck:" & styleCheckStyle & + " --styleCheck:usages --styleCheck:error" & (if verbose: "" else: " --verbosity:0 --hints:off") & " --skipParentCfg --skipUserCfg --outdir:build --nimcache:build/nimcache -f"