Skip to content

Instantly share code, notes, and snippets.

@coryalder
Created August 14, 2012 04:51
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save coryalder/3346357 to your computer and use it in GitHub Desktop.
Save coryalder/3346357 to your computer and use it in GitHub Desktop.
Automatically update to the current version of TextMate
#!/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