Skip to content

Instantly share code, notes, and snippets.

@jmoe
Created March 24, 2012 02:09
Show Gist options
  • Save jmoe/2177557 to your computer and use it in GitHub Desktop.
Save jmoe/2177557 to your computer and use it in GitHub Desktop.
Convert erb to haml
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