From 7e8d46ccf9dd984454aa91e8296bc9f510530159 Mon Sep 17 00:00:00 2001 From: tersec Date: Wed, 14 Jun 2023 23:21:40 +0000 Subject: [PATCH] make nimble file consistent with test matrix (#60) --- serialization.nimble | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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"