summary refs log tree commit diff stats
path: root/ci/nsis_build.bat
diff options
context:
space:
mode:
Diffstat (limited to 'ci/nsis_build.bat')
-rw-r--r--ci/nsis_build.bat11
1 files changed, 6 insertions, 5 deletions
diff --git a/ci/nsis_build.bat b/ci/nsis_build.bat
index f870e8e88..4e9d0d67c 100644
--- a/ci/nsis_build.bat
+++ b/ci/nsis_build.bat
@@ -21,11 +21,8 @@ cd web\upload
 move /y docs-%NIMVER%.zip download
 cd ..\..
 
-Rem Build .zip file:
-rem koch csources -d:release
-rem koch xz -d:release
-rem move /y build\nim-%NIMVER%.zip web\upload\download
-
+Rem Build csources
+koch csources -d:release || exit /b
 
 rem Grab C sources and nimsuggest
 git clone --depth 1 https://github.com/nim-lang/csources.git
@@ -43,8 +40,10 @@ ReM which mingw link to put in the NSIS installer.
 nim c --out:koch_temp koch || exit /b
 koch_temp boot -d:release || exit /b
 koch_temp nsis -d:release || exit /b
+koch_temp zip -d:release || exit /b
 dir build
 move /y build\nim_%NIMVER%.exe build\nim-%NIMVER%_x32.exe || exit /b
+move /y build\nim-%NIMVER%.zip build\nim-%NIMVER%_x32.zip || exit /b
 
 
 ReM Build Win64 version:
@@ -55,4 +54,6 @@ cd ..
 nim c --out:koch_temp koch || exit /b
 koch_temp boot -d:release || exit /b
 koch_temp nsis -d:release || exit /b
+koch_temp zip -d:release || exit /b
 move /y build\nim_%NIMVER%.exe build\nim-%NIMVER%_x64.exe || exit /b
+move /y build\nim-%NIMVER%.zip build\nim-%NIMVER%_x64.zip || exit /b