Skip to content

Instantly share code, notes, and snippets.

@zoffixznet
Created November 3, 2017 10:19
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 zoffixznet/8274ecdb83763b2509bca972d496c604 to your computer and use it in GitHub Desktop.
Save zoffixznet/8274ecdb83763b2509bca972d496c604 to your computer and use it in GitHub Desktop.
alias bump-it='rm -fr nqp && make clean &&
git clone https://github.com/perl6/nqp/ &&
cd nqp &&
git clone https://github.com/MoarVM/MoarVM/ &&
cd MoarVM &&
git describe > ../tools/build/MOAR_REVISION &&
cd ../ &&
git commit -m '\''Bump MoarVM'\'' tools/build/MOAR_REVISION &&
git describe > ../tools/build/NQP_REVISION &&
cd ../ &&
git commit -m '\''Bump NQP'\'' tools/build/NQP_REVISION &&
perl Configure.pl --gen-moar --gen-nqp --backends=moar &&
make &&
make test &&
make install &&
make stresstest && cd nqp && git checkout master &&
git push && cd .. && git push
'
alias bump-push='cd nqp && git checkout master && git push && cd .. && git push'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment