Skip to content

Instantly share code, notes, and snippets.

@knowuh
Created February 24, 2012 22:23
Show Gist options
  • Save knowuh/1904190 to your computer and use it in GitHub Desktop.
Save knowuh/1904190 to your computer and use it in GitHub Desktop.
coffeescript build file for sublime text
// 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"
}
@knowuh
Copy link
Author

knowuh commented Feb 29, 2012

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 (!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment