Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cwill747/5953dbdf56828750d841 to your computer and use it in GitHub Desktop.
Save cwill747/5953dbdf56828750d841 to your computer and use it in GitHub Desktop.
Compile Coffeescript to Javascript and delete original javascript - WARNING DESTRUCTIVE - have a backup
find . -name '*.coffee' | while read i; do coffee -b -c "$i" > "${i%.*}.js" && rm "$i"; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment