Created
December 19, 2014 16:27
-
-
Save mihs/fbd9fef145e1098e607f to your computer and use it in GitHub Desktop.
convert all views from haml to erb in a rails directory using herbalizer
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
find -L . -name *.html.haml -exec bash -c 'herbalizer {} | tee `echo {} | sed s/haml$/erb/`' \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment