From 4cce5883c063ad79564b5e1734f1a62060063ab3 Mon Sep 17 00:00:00 2001 From: Andreas Rumpf Date: Wed, 26 Apr 2017 11:14:53 +0200 Subject: [PATCH] koch: build release version of nimble --- koch.nim | 4 ++-- 1 file 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) =