Skip to content

Instantly share code, notes, and snippets.

@zoffixznet
Created July 20, 2017 10:22
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/8be684da12ce5e951f40875c8f2e5d12 to your computer and use it in GitHub Desktop.
Save zoffixznet/8be684da12ce5e951f40875c8f2e5d12 to your computer and use it in GitHub Desktop.
#!/bin/sh
source /home/zoffix/.bashrc
set -e
set -x
cd ~/services/sourceable/building-perl6
git fetch
before=$(git rev-parse HEAD)
git checkout origin/nom
after=$(git rev-parse HEAD)
if [ "$before" = "$after" ]
then
echo "nothing to do"
else
perl Configure.pl --gen-moar --gen-nqp --backends=moar
make
make install
cd ..
cp -R building-perl6/. perl6
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment