summary refs log tree commit diff stats
path: root/koch.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2017-02-26 23:16:43 +0100
committerAraq <rumpf_a@web.de>2017-02-26 23:25:50 +0100
commit7d1a96151c0fecfc73913f7cb4a5572fe4913c42 (patch)
tree76d64a205296105c07264bc34f2f6170711885df /koch.nim
parent51ece61f034994f73d4fabaa6a5e9192936dd3a5 (diff)
downloadNim-7d1a96151c0fecfc73913f7cb4a5572fe4913c42.tar.gz
finish tool can use 'nimgrab' tool to download the mingw version
Diffstat (limited to 'koch.nim')
-rw-r--r--koch.nim3
1 files changed, 3 insertions, 0 deletions
diff --git a/koch.nim b/koch.nim
index 109dcc3f1..7c0193917 100644
--- a/koch.nim
+++ b/koch.nim
@@ -223,7 +223,9 @@ proc bundleWinTools() =
   copyExe("tools/finish".exe, "finish".exe)
   removeFile("tools/finish".exe)
   nimexec("c -o:bin/vccexe.exe tools/vccenv/vccexe")
+  nimexec("c -o:bin/nimgrab.exe -d:ssl tools/nimgrab.nim")
   when false:
+    # not yet a tool worth including
     nimexec(r"c --cc:vcc --app:gui -o:bin\downloader.exe -d:ssl --noNimblePath " &
             r"--path:..\ui tools\downloader.nim")
 
@@ -541,6 +543,7 @@ of cmdArgument:
   of "test", "tests": tests(op.cmdLineRest)
   of "temp": temp(op.cmdLineRest)
   of "winrelease": winRelease()
+  of "wintools": bundleWinTools()
   of "nimble": buildNimble(existsDir(".git"))
   of "nimsuggest": bundleNimsuggest(buildExe=true)
   of "tools": buildTools(existsDir(".git"))