lib/tasks/erb2haml.rake in haml-rails-0.8.0 vs lib/tasks/erb2haml.rake in haml-rails-0.8.1
- old
+ new
@@ -1,6 +1,6 @@
namespace :haml do
- task :erb_2_haml do
+ task :erb2haml do
puts "This task will generate a .html.haml translation of each of the .html.erb files in app/views and its subdirectories."
erb_files = Dir.glob('app/views/**/*.erb').select { |f| File.file? f}
haml_files = Dir.glob('app/views/**/*.haml').select { |f| File.file? f}
\ No newline at end of file