Erlang: TextMate bundle

December 28, 2008 § 1 Comment

Here’s a simple shell script for downloading and applying TextMate bundle for Erlang. I found it, here.


#!/bin/sh

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://macromates.com/svn/Bundles/trunk/Bundles/Erlang.tmbundle/
fi

 

echo Reloading bundles in TextMate...
osascript -e 'tell app "TextMate" to reload bundles'

Source:

Advertisements

Tagged: ,

§ One Response to Erlang: TextMate bundle

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

What’s this?

You are currently reading Erlang: TextMate bundle at RAPD.

meta

%d bloggers like this: