From 01afff495cdf1b9bb0646894dac74fcfdb59d072 Mon Sep 17 00:00:00 2001 From: Araq Date: Tue, 25 Oct 2016 00:02:34 +0200 Subject: [PATCH] koch also builds the vccexe tool --- koch.nim | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/koch.nim b/koch.nim index a3f5fb3de9..29ac1bd376 100644 --- a/koch.nim +++ b/koch.nim @@ -203,15 +203,16 @@ proc bundleNimsuggest(buildExe: bool) = copyExe("dist/nimsuggest/nimsuggest".exe, "bin/nimsuggest".exe) removeFile("dist/nimsuggest/nimsuggest".exe) -proc bundleFinishExe() = +proc bundleWinTools() = nimexec("c tools/finish.nim") copyExe("tools/finish".exe, "finish".exe) removeFile("tools/finish".exe) + nimexec("c -o:bin/vccexe.exe tools/vccenv/vccexe") proc zip(args: string) = bundleNimbleSrc() bundleNimsuggest(false) - bundleFinishExe() + bundleWinTools() nimexec("cc -r $2 --var:version=$1 --var:mingw=none --main:compiler/nim.nim scripts compiler/installer.ini" % [VersionAsString, compileNimInst]) exec("$# --var:version=$# --var:mingw=none --main:compiler/nim.nim zip compiler/installer.ini" % @@ -247,7 +248,7 @@ proc buildTools() = proc nsis(args: string) = bundleNimbleExe() bundleNimsuggest(true) - bundleFinishExe() + bundleWinTools() # make sure we have generated the niminst executables: buildTool("tools/niminst/niminst", args) #buildTool("tools/nimgrep", args)