dhl / erb2haml

Simple script to bulk covert ERB files in a Rails app to Haml
MIT License
193 stars 20 forks source link

run erb2haml in lib/ #5

Open cmager opened 11 years ago

cmager commented 11 years ago

Hi, is there a way to get the rake tasks to lookup the erb templates in Rails.root/lib/engine-name/app/views as well?

cheers, christian

drakmail commented 10 years ago

At this moment app/views path is hardcoded in the rake task: https://github.com/dhl/erb2haml/blob/master/lib/erb2haml/railties/erb2haml.rake#L25