Skip to content

Instantly share code, notes, and snippets.

@jleeothon
Last active December 30, 2015 19:56
Show Gist options
  • Save jleeothon/ad8a71e44e16ead0325b to your computer and use it in GitHub Desktop.
Save jleeothon/ad8a71e44e16ead0325b to your computer and use it in GitHub Desktop.
Set up Corto playground
workspaceparent="$HOME"
cd $workspaceparent
mkdir cortoproject
cd cortoproject
git clone https://github.com/cortoproject/corto
git clone https://github.com/cortoproject/c-binding
git clone https://github.com/cortoproject/xml
git clone https://github.com/cortoproject/corto-language
git clone https://github.com/cortoproject/io
git clone https://github.com/cortoproject/cortodoc
git clone https://github.com/cortoproject/test
git clone https://github.com/cortoproject/json
echo "COMPONENTS = %w(
corto
c-binding
xml
corto-language
io
cortodoc
test
json
)
require \"#{ENV['CORTO_BUILD']}/forward\"
" > rakefile
echo "
alias cortoconf=\". $workspaceparent/cortoproject/corto/configure\"
" >> "$HOME/.bash_profile"
source "$HOME/.bash_profile"
cortoconf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment