Skip to content

Instantly share code, notes, and snippets.

@jugyo
Created April 14, 2011 07:14
Show Gist options
  • Save jugyo/919046 to your computer and use it in GitHub Desktop.
Save jugyo/919046 to your computer and use it in GitHub Desktop.
TextMate command to convert CoffeeScript to JavaScript
#!/bin/bash
coffee -scp --bare | sed 's/</\&lt;/g' | sed 's/>/\&gt;/g'
# original: https://github.com/jashkenas/coffee-script-tmbundle/blob/master/Commands/Compile%20and%20Display%20JS.tmCommand
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment