Rakefile in hamlit-1.5.4 vs Rakefile in hamlit-1.5.5
- old
+ new
@@ -8,9 +8,14 @@
desc 'Run RSpec code examples'
task :spec do
exit system('bundle exec rspec --pattern spec/hamlit/**{,/\*/\*\*\}/\*_spec.rb')
end
+desc 'Automatically generate documents from rspec'
+task :doc do
+ system('AUTODOC=1 bundle exec rake spec')
+end
+
namespace :spec do
desc 'Generate converted ugly haml-spec'
task :update do
system('cd spec && rake ugly')
end