Created
January 6, 2012 09:00
-
-
Save masaki/1569791 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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