about summary refs log tree commit diff
path: root/bootstrap.sh
diff options
context:
space:
mode:
authorBaitinq <[email protected]>2025-07-15 23:35:01 +0200
committerBaitinq <[email protected]>2025-07-15 23:35:01 +0200
commit37b327e4c08a01f16ee40da4d943a2aa4350810f (patch)
treeb5cb4652b5d0af6fe06efe3afb5db9d59ca3c3d5 /bootstrap.sh
parentFinish bootstrapping :^) (diff)
downloadpry-lang-37b327e4c08a01f16ee40da4d943a2aa4350810f.tar.gz
pry-lang-37b327e4c08a01f16ee40da4d943a2aa4350810f.tar.bz2
pry-lang-37b327e4c08a01f16ee40da4d943a2aa4350810f.zip
Boostrap: Regenerate stage 0 in script
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