Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
49 lines (44 sloc) 1.37 KB
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>beforeRunningCommand</key>
<string>saveActiveFile</string>
<key>command</key>
<string>#!/usr/bin/env bash
[[ -f "${TM_SUPPORT_PATH}/lib/bash_init.sh" ]] &amp;&amp; . "${TM_SUPPORT_PATH}/lib/bash_init.sh"
# To install ANTLR via MacPorts
# 1. sudo port install antlr
# 2. set TM_ANTLR to -classpath /opt/local/lib/antlr.jar antlr/Tool
TM_JAVA=$(type -p "${TM_JAVA:-java}")
TM_ANTLR="${TM_ANTLR:-org.antlr.Tool}"
cd "$TM_DIRECTORY"
# for this to work you need to set CLASSPATH to
# include antlr v3, v2, and StringTemplate jars
# or set TM_ANTLR to include a proper -classpath
"$TM_JAVA" $TM_ANTLR "$TM_FILENAME"
</string>
<key>input</key>
<string>none</string>
<key>inputFormat</key>
<string>text</string>
<key>keyEquivalent</key>
<string>@b</string>
<key>name</key>
<string>Build</string>
<key>outputCaret</key>
<string>afterOutput</string>
<key>outputFormat</key>
<string>text</string>
<key>outputLocation</key>
<string>toolTip</string>
<key>scope</key>
<string>source.antlr, source.antlr source.java</string>
<key>semanticClass</key>
<string>process.build.antlr</string>
<key>uuid</key>
<string>EA5073FF-4ABB-44FA-95E3-6CB4B8818106</string>
<key>version</key>
<integer>2</integer>
</dict>
</plist>