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
#!/bin/sh | |
# Install coffeescript cli | |
npm -g install decaffeinate | |
# Convert all coffeescript files to javascript | |
find . -name "*.coffee" -exec decaffeinate --use-cs2 --disable-suggestion-comment {} \; | |
# Optionally delete original coffee files | |
find . -name "*.coffee" -exec rm {} \; |