Last Updated: February 25, 2016
·
995
· jonnyjava

how to convert HTML and ERB files to HAML

  • gem install html2haml
  • bundle
  • for file in app/views/**/*.erb; do html2haml -e $file ${file%erb}haml && rm $file; done