mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-03 19:52:36 +00:00
added quick bootstrap script for windows
This commit is contained in:
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
|
||||
)
|
||||
Reference in New Issue
Block a user