Nimble lock file

This commit is contained in:
Zahary Karadjov 2022-04-12 19:24:02 +03:00
commit 0c1ca20b45
4 changed files with 87 additions and 1 deletions

View file

@ -18,7 +18,10 @@ proc test(args, path: string) =
# Compilation language is controlled by TEST_LANG
let lang = getEnv("TEST_LANG", "c")
let common_args = "-r -f " & getEnv("NIMFLAGS") & " --hints:off --skipParentCfg --styleCheck:usages --styleCheck:error"
var common_args = "-r -f " & getEnv("NIMFLAGS") & " --hints:off --styleCheck:usages --styleCheck:error"
if getEnv("IN_STATUS_NIM_WORKSPACE") == "":
common_args &= " --skipParentCfg"
exec "nim " & lang & " " & args &
" -d:asyncBackend=none " & common_args & " " & path