Created
February 24, 2012 22:23
-
-
Save knowuh/1904190 to your computer and use it in GitHub Desktop.
coffeescript build file for sublime text
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
// place this in | |
// ~/Library/Application Support/Sublime Text 2/Packages/coffee-script-tmbundle/Commands/CoffeeScript.sublime-build | |
{ | |
"path": "$HOME/bin:/usr/local/bin:$PATH", | |
"cmd": ["coffee","-c","$file"], | |
// "file_regex": "^(...*?):([0-9]*):?([0-9]*)", | |
// SyntaxError: In (filepath), unmatched ] on line 151 | |
"file_regex": "^.*In (.*), .* ([0-9]*)$", | |
"selector": "source.coffee" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Forgot to mention: This modification requires that you have https://github.com/jashkenas/coffee-script-tmbundle installed in ~/Library/Application Support/Sublime Text 2/Packages/coffee-script-tmbundle (!)