Created
May 1, 2013 16:43
-
-
Save ryanjduffy/5496462 to your computer and use it in GitHub Desktop.
Parse Cloud Code installer for c9.io
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/bash | |
TMP_FILE=~/parse.tmp | |
if [ -e $TMP_FILE ]; then | |
echo "Cleaning up from previous install failure" | |
rm -f $TMP_FILE | |
fi | |
echo "Fetching latest version ..." | |
curl --progress-bar https://www.parse.com/downloads/cloud_code/parse -o $TMP_FILE | |
echo "Installing ..." | |
mv $TMP_FILE ~/bin/parse | |
chmod 755 ~/bin/parse |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment