Skip to content

Instantly share code, notes, and snippets.

@MattOates
Last active January 4, 2016 18:59
Show Gist options
  • Save MattOates/8664675 to your computer and use it in GitHub Desktop.
Save MattOates/8664675 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
blue='\033[34m'
cls='\033[0m'
echo -e "$blue"`date +[%H:%M:%S]`' Cloning fresh Rakudo repo'"$cls"
git clone https://github.com/rakudo/rakudo.git
echo -e "$blue"`date +[%H:%M:%S]`' Checking out Plano 2014.01 tagged release'"$cls"
cd rakudo
git checkout Plano
echo -e "$blue"`date +[%H:%M:%S]`' Configuring Rakudo for JVM backend only and building NQP, this will take a while!'"$cls"
perl Configure.pl --gen-nqp --backends=jvm
echo -e "$blue"`date +[%H:%M:%S]`' Building Rakudo'"$cls"
make
echo -e "$blue"`date +[%H:%M:%S]`' Installing Rakudo locally'"$cls"
make install
echo -e "$blue"`date +[%H:%M:%S]`' Done! Do ./perl6 to run the REPL, under the JVM this takes a while to startup...'"$cls"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment