Skip to content

Instantly share code, notes, and snippets.

@adriaanm
Created September 15, 2016 11:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adriaanm/55100b674705f88a460f857278aad370 to your computer and use it in GitHub Desktop.
Save adriaanm/55100b674705f88a460f857278aad370 to your computer and use it in GitHub Desktop.
rm -rf classes
starr=4d67c39
locker=8b79ea9
g co $starr
sbt publishLocal
g co $locker
sbt -Dstarr.version=2.12.0-local-$starr clean publishLocal
cp -a build/quick/classes .
(
cd classes
for i in library reflect compiler; do ../build/quick/bin/scala scala.tools.nsc.backend.jvm.AsmUtils $(find $i -name "*.class" ); done
git init
for i in library reflect compiler; do git add $(find $i -name "*.class.asm" ); done
g commit -m"quick"
) &
sbt -Dstarr.version=2.12.0-local-$locker compile
echo "done initializing git repo?"
read
(
cd classes
cp -a ../build/quick/classes/* .
for i in library reflect compiler; do ../build/quick/bin/scala scala.tools.nsc.backend.jvm.AsmUtils $(find $i -name "*.class" ); done
git --no-pager diff > strap-$starr-to-$locker.diff
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment