Created
December 13, 2009 15:48
-
-
Save thisivan/255456 to your computer and use it in GitHub Desktop.
Convert from ERB to HAML
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 ./app/views/comments/ -name '*erb' | \ | |
xargs ruby -e 'ARGV.each { |i| puts "html2haml -r #{i} #{i.sub(/erb$/,"haml")}"}' | \ | |
bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment