Skip to content

Commit

Permalink
revert workarounds for Nimble 0.16.4 incompatibility with --skipParen…
Browse files Browse the repository at this point in the history
…tCfg and --styleCheck:error (#99)
  • Loading branch information
tersec authored Dec 22, 2024
1 parent 4141256 commit 29445a4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/build_nim.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 29445a4

Please sign in to comment.