Created
August 27, 2008 00:01
-
-
Save al3x/7379 to your computer and use it in GitHub Desktop.
An Ant build task for TextMate that works off your currently selected directory in the project drawer. I added it to the Scala bundle. Be sure to set Output to "Show as HTML".
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
. "$TM_SUPPORT_PATH/lib/webpreview.sh" | |
require_cmd "${TM_ANT:=ant}" "Ant was not found, please ensure that it has been installed and your \$PATH is set correctly." | |
html_header "Ant Build" | |
cd "$TM_SELECTED_FILE"; | |
result=`"$TM_ANT"`; | |
echo "<pre>$result</pre>"; | |
html_footer | |
exit_show_html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment