Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- gem install html2haml
- find . -name \*.erb -print | sed 'p;s/.erb$/.haml/' | xargs -n2 html2haml
- find . -type f -name '*.html.erb' -delete
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement