bespokoid
4/8/2012 - 2:41 AM

Convert all .ERB files in given directory tree to .HAML

Convert all .ERB files in given directory tree to .HAML

Find.find('vendor/extensions/shop').each {|f| puts ("html2haml, #{f}, #{f.slice(0...-3)+"haml"}") if f =~ /.*\.erb/}