From 29445a465037f486a00ef806be7ea31ca6f8dda4 Mon Sep 17 00:00:00 2001 From: tersec Date: Sun, 22 Dec 2024 15:28:17 +0000 Subject: [PATCH] revert workarounds for Nimble 0.16.4 incompatibility with --skipParentCfg and --styleCheck:error (#99) --- scripts/build_nim.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/build_nim.sh b/scripts/build_nim.sh index 6ea06f1..cd42e12 100755 --- a/scripts/build_nim.sh +++ b/scripts/build_nim.sh @@ -144,10 +144,10 @@ build_nim() { ./koch --skipIntegrityCheck boot -d:release --skipUserCfg --skipParentCfg --warnings:off --hints:off if [[ "${QUICK_AND_DIRTY_COMPILER}" == "0" ]]; then # We want tools - ./koch tools -d:release --skipUserCfg --warnings:off --hints:off --styleCheck:off + ./koch tools -d:release --skipUserCfg --skipParentCfg --warnings:off --hints:off elif [[ "${QUICK_AND_DIRTY_NIMBLE}" != "0" ]]; then # We just want nimble - ./koch nimble -d:release --skipUserCfg --warnings:off --hints:off --styleCheck:off + ./koch nimble -d:release --skipUserCfg --skipParentCfg --warnings:off --hints:off fi else # Git commits @@ -275,7 +275,7 @@ build_nim() { # Do we want Nimble in this quick build? if [[ "${QUICK_AND_DIRTY_NIMBLE}" != "0" ]]; then - bin/nim c -d:release --noNimblePath --skipUserCfg --styleCheck:off dist/nimble/src/nimble.nim + bin/nim c -d:release --noNimblePath --skipUserCfg --skipParentCfg dist/nimble/src/nimble.nim mv dist/nimble/src/nimble bin/ fi fi