public
Created

  • Download Gist
gistfile1.sh
Shell
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
#!/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

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.