added quick bootstrap script for windows

This commit is contained in:
Way, No
2015-01-15 01:22:13 +10:00
parent 67d5bc6b0a
commit f7dc9492d9
2 changed files with 26 additions and 0 deletions

20
build.bat Executable file
View File

@@ -0,0 +1,20 @@
if not exist "csources"(
git clone --depth 1 https://github.com/nim-lang/csources.git
)
cd "csources"
if exist "C:\Program Files (x86)" (
call build64.bat
) else (
call build.bat
)
cd ".."
./bin/nim c koch
./koch boot -d:release
xcopy /Y install.bat.template install.bat
pause

6
install.bat.template Executable file
View File

@@ -0,0 +1,6 @@
if not "%1"=="" (
./koch install %1
) else (
./koch install
)