Skip to content

Instantly share code, notes, and snippets.

@masaki
Created January 6, 2012 09:00
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 masaki/1569791 to your computer and use it in GitHub Desktop.
Save masaki/1569791 to your computer and use it in GitHub Desktop.
#!/bin/sh
if [ -f perlbrew/perl ]; then
perlbrew use `cat perlbrew/perl`
fi
if [ -f carton.lock ]; then
if [ -d local/cache ]; then
carton install --cached --deployment
else
carton install --deployment
fi
else
if [ -d local/cache ]; then
carton install --cached
else
carton install
fi
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment