Created
January 13, 2013 13:30
-
-
Save insanehunter/4524129 to your computer and use it in GitHub Desktop.
A Sublime Text 2 build script to launch ruby script in new OSX Terminal window.
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
Show hidden characters
{ | |
"cmd": ["osascript", "-e", "tell app \"Terminal\"\nactivate\ndo script \"clear; ruby $file; tput setaf 7; echo '\n\n\n\nPress any key to close.'; tput sgr0; read -n 1 -s; exit\"\nend tell"] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment