erb2haml-win
erb2haml-win adds a simple rake task to your Rails app to converts all ERb HTML files in APP_HOME/app/views/
to Haml.
Windows Only!
Forked from https://github.com/dhl/erb2haml
Urgent Question
Why my rake tasks are unavailable? But after installing the original erb2haml they appears?
Getting Started
Add
gem "erb2haml"
to the development group in your Gemfile.Either add the line
gem "erb2haml", :group => :development
to yourGemfile
, or
group :development do ... gem "erb2haml-win" # Add this line ... endRun
rake haml:toErb
Watch your ERB files getting converted to haml.
And that's it!
Other commands:
rake haml:delErb
for deleting *.erb
rake haml:toDelErb
for converting & deleting *.erb
Copyright
Copyright (c) 2011 David Leung. See LICENSE for further details.