From a0e2e19ebb7cdc6460d55e9427dbde2b72005b60 Mon Sep 17 00:00:00 2001 From: Andreas Rumpf Date: Thu, 11 Aug 2016 21:50:46 +0200 Subject: [PATCH] Updated Creating a release (markdown) --- Creating-a-release.md | 50 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/Creating-a-release.md b/Creating-a-release.md index cfb7e1d..7bed1e0 100644 --- a/Creating-a-release.md +++ b/Creating-a-release.md @@ -18,3 +18,53 @@ - Tag the release - Merge devel into master - Update csources + + +To build the Windows release, currently this .bat file is used which is rather tied to my computer. + +``` +set NIMVER=0.14.2 + +Rem Build -docs file: +koch web0 +cd web\upload +7z a -tzip docs-%NIMVER%.zip *.html +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 Win32 version: + +set PATH=C:\Users\Anwender\projects\nim\dist\mingw\bin;%PATH% +cd build +call build.bat +cd .. +nim c koch || exit /b +koch boot -d:release || exit /b +cd ..\nimsuggest +nim c -d:release --noNimblePath --path:..\nim nimsuggest || exit /b +copy /y nimsuggest.exe ..\nim\bin || exit /b +cd ..\nim +koch nsis -d:release || exit /b +move /y build\nim_%NIMVER%.exe web\upload\download\nim-%NIMVER%_x32.exe || exit /b + + +ReM Build Win64 version: +set PATH=C:\Users\Anwender\projects\win-builds\bin;%PATH% +cd build +call build64.bat +cd .. +nim c koch || exit /b +koch boot -d:release || exit /b +cd ..\nimsuggest +nim c -d:release --noNimblePath --path:..\nim nimsuggest || exit /b +copy /y nimsuggest.exe ..\nim\bin || exit /b +cd ..\nim +koch nsis -d:release || exit /b +move /y build\nim_%NIMVER%.exe web\upload\download\nim-%NIMVER%_x64.exe || exit /b + +```