koch tools: build Nimble in release mode
This commit is contained in:
parent
4b845d8edb
commit
5ea0bf1940
1 changed files with 1 additions and 1 deletions
2
koch.nim
2
koch.nim
|
|
@ -141,7 +141,7 @@ proc buildNimble(latest: bool) =
|
||||||
else:
|
else:
|
||||||
exec("git checkout -f stable")
|
exec("git checkout -f stable")
|
||||||
exec("git pull")
|
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)
|
copyExe(installDir / "src/nimble".exe, "bin/nimble".exe)
|
||||||
|
|
||||||
proc bundleNimsuggest(buildExe: bool) =
|
proc bundleNimsuggest(buildExe: bool) =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue