Skip to content

Instantly share code, notes, and snippets.

@zoffixznet
Last active October 5, 2017 19:40
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/c778b93f2f3b902e467ab4c3d65a86ac to your computer and use it in GitHub Desktop.
Save zoffixznet/c778b93f2f3b902e467ab4c3d65a86ac to your computer and use it in GitHub Desktop.
Bump Rakudo's NQP/MoarVM versions
alias bump-it='rm -fr nqp &&
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 push &&
cd .. &&
git push &&
echo -e "\n\nAuto-bump SUCCEEDED\n\n" ||
echo -e "\n\nAuto-bump FAILED\n\n"
'
alias bump-push='cd nqp && git push && cd .. && git push'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment