diff options
author | Araq <rumpf_a@web.de> | 2016-10-25 00:02:34 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2016-10-25 00:02:58 +0200 |
commit | 01afff495cdf1b9bb0646894dac74fcfdb59d072 (patch) | |
tree | 8e819bf0b4dcdb68660e1d4cfff199ff4bc592a2 | |
parent | 5da5a27fa05d3a47c1f7fa3844986ce48669e954 (diff) | |
download | Nim-01afff495cdf1b9bb0646894dac74fcfdb59d072.tar.gz |
koch also builds the vccexe tool
-rw-r--r-- | koch.nim | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/koch.nim b/koch.nim index a3f5fb3de..29ac1bd37 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) |