Create a gist now

Instantly share code, notes, and snippets.

#!/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