diff options
Diffstat (limited to 'build.bat')
-rwxr-xr-x | build.bat | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/build.bat b/build.bat new file mode 100755 index 000000000..b68d626f6 --- /dev/null +++ b/build.bat @@ -0,0 +1,22 @@ + +if not exist "csources"( + git clone --depth 1 https://github.com/nim-lang/csources.git +) + +cd "csources" + +for /f "skip=1 delims=" %%x in ('wmic cpu get addresswidth') do if not defined AddressWidth set AddressWidth=%%x +if %AddressWidth%==64 ( + call build64.bat +) else ( + call build.bat +) + +cd ".." + +./bin/nim c koch +./koch boot -d:release + +xcopy /Y install.bat.template install.bat + +pause \ No newline at end of file |