added quick bootstrap script for windows
This commit is contained in:
parent
67d5bc6b0a
commit
f7dc9492d9
2 changed files with 26 additions and 0 deletions
20
build.bat
Executable file
20
build.bat
Executable 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
6
install.bat.template
Executable file
|
|
@ -0,0 +1,6 @@
|
|||
|
||||
if not "%1"=="" (
|
||||
./koch install %1
|
||||
) else (
|
||||
./koch install
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue