about summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-xbootstrap.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/bootstrap.sh b/bootstrap.sh
new file mode 100755
index 0000000..6bcfacd
--- /dev/null
+++ b/bootstrap.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+zig build run -- src/bootstrap/main.pry && cc $(llvm-config --libs) output.o -o stage1 && ./stage1 src/bootstrap/main.pry && cc $(llvm-config --libs) bootstrap_output.o -o stage2 && ./stage2 src/bootstrap/main.pry && cc $(llvm-config --libs) bootstrap_output.o -o stage3