Created
August 14, 2012 04:51
-
-
Save coryalder/3346357 to your computer and use it in GitHub Desktop.
Automatically update to the current version of TextMate
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 | |
cd ~/textmate | |
git pull origin | |
git submodule update | |
ninja TextMate | |
: ${NEWTEXTMATEPATH:="$HOME/build/TextMate/Applications/TextMate/TextMate.app"} | |
if [ -d $NEWTEXTMATEPATH ]; then | |
rm -rf /Applications/TextMate.app | |
mv $NEWTEXTMATEPATH /Applications/ | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment