summary refs log tree commit diff stats
path: root/build_all.bat
diff options
context:
space:
mode:
Diffstat (limited to 'build_all.bat')
-rw-r--r--build_all.bat16
1 files changed, 16 insertions, 0 deletions
diff --git a/build_all.bat b/build_all.bat
new file mode 100644
index 000000000..59df15594
--- /dev/null
+++ b/build_all.bat
@@ -0,0 +1,16 @@
+@echo off
+rem build development version of the compiler; can be rerun safely
+if not exist csources (
+  git clone --depth 1 https://github.com/nim-lang/csources.git
+)
+if not exist bin\nim.exe (
+  cd csources
+  if PROCESSOR_ARCHITECTURE == AMD64 (
+    SET ARCH=64
+  )
+  CALL build.bat
+  cd ..
+)
+bin\nim.exe c --skipUserCfg --skipParentCfg koch
+koch.exe boot -d:release
+koch.exe tools
\ No newline at end of file