Created
April 23, 2012 00:18
-
-
Save devpopol/2467719 to your computer and use it in GitHub Desktop.
adding erlang support to TextMate
This file contains hidden or 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 | |
#http://oneless.blogspot.com/2007/04/howto-erlang-textmate-bundle.html | |
LC_CTYPE=en_US.UTF-8 | |
SVN=`which svn` | |
echo Changing to Bundles directory... | |
mkdir -p /Library/Application\ Support/TextMate/Bundles | |
cd /Library/Application\ Support/TextMate/Bundles | |
if [ -d /Library/Application\ Support/TextMate/Bundles/Erlang.tmbundle ]; then | |
echo Erlang bundle already exists - updating... | |
$SVN up Erlang.tmbundle | |
else | |
echo Checking out Erlang bundle... | |
$SVN --username anon --password anon co http://svn.textmate.org/trunk/Bundles/Erlang.tmbundle/ | |
fi | |
echo Reloading bundles in TextMate... | |
osascript -e 'tell app "TextMate" to reload bundles' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment