about summary refs log tree commit diff
path: root/bootstrap.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap.sh')
-rwxr-xr-xbootstrap.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/bootstrap.sh b/bootstrap.sh
index c95decf..310c4a2 100755
--- a/bootstrap.sh
+++ b/bootstrap.sh
@@ -18,3 +18,6 @@ echo "Building stage 2..."
 echo "Building stage 3..."
 
 ./stage2 src/main.pry && cc $(llvm-config --libs) bootstrap_output.o -o stage3
+
+echo "Regenerating stage 0..."
+./stage3 src/main.pry --generate-ir && mv output.ll bootstrap/output.ll