diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2017-04-26 11:14:53 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2017-04-26 11:14:53 +0200 |
commit | 4cce5883c063ad79564b5e1734f1a62060063ab3 (patch) | |
tree | 89431b8f6932e187bad6396b8517b2fe657ca6b4 /koch.nim | |
parent | 920888f3821821667de0202b4a1a2ac5f08a9735 (diff) | |
download | Nim-4cce5883c063ad79564b5e1734f1a62060063ab3.tar.gz |
koch: build release version of nimble
Diffstat (limited to 'koch.nim')
-rw-r--r-- | koch.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/koch.nim b/koch.nim index e24367dd5..da99ea264 100644 --- a/koch.nim +++ b/koch.nim @@ -178,7 +178,7 @@ proc bundleNimbleExe() = bundleNimbleSrc() # now compile Nimble and copy it to $nim/bin for the installer.ini # to pick it up: - nimexec("c dist/nimble/src/nimble.nim") + nimexec("c -d:release dist/nimble/src/nimble.nim") copyExe("dist/nimble/src/nimble".exe, "bin/nimble".exe) proc buildNimble(latest: bool) = @@ -205,7 +205,7 @@ proc buildNimble(latest: bool) = else: exec("git checkout -f stable") exec("git pull") - nimexec("c --noNimblePath -p:compiler " & installDir / "src/nimble.nim") + nimexec("c --noNimblePath -p:compiler -d:release " & installDir / "src/nimble.nim") copyExe(installDir / "src/nimble".exe, "bin/nimble".exe) proc bundleNimsuggest(buildExe: bool) = |