Created
March 24, 2012 02:09
-
-
Save jmoe/2177557 to your computer and use it in GitHub Desktop.
Convert erb to haml
This file contains 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
for i in `find app/views -name '*.erb'` ; do html2haml -e $i ${i%erb}haml ; rm $i ; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment