koch tools: build Nimble in release mode

This commit is contained in:
Andreas Rumpf
2018-10-03 22:19:37 +02:00
parent 4b845d8edb
commit 5ea0bf1940

View File

@@ -141,7 +141,7 @@ proc buildNimble(latest: bool) =
else:
exec("git checkout -f stable")
exec("git pull")
nimexec("c --noNimblePath -p:compiler --nilseqs:on " & installDir / "src/nimble.nim")
nimexec("c --noNimblePath -p:compiler --nilseqs:on -d:release " & installDir / "src/nimble.nim")
copyExe(installDir / "src/nimble".exe, "bin/nimble".exe)
proc bundleNimsuggest(buildExe: bool) =