Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@seyhunak
Created February 6, 2012 16:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save seyhunak/1752927 to your computer and use it in GitHub Desktop.
Save seyhunak/1752927 to your computer and use it in GitHub Desktop.
Erb2Haml (requires ruby_parser)
find . -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