Skip to content

Instantly share code, notes, and snippets.

@maxschulze
Created July 17, 2011 20:29
Show Gist options
  • Save maxschulze/1088027 to your computer and use it in GitHub Desktop.
Save maxschulze/1088027 to your computer and use it in GitHub Desktop.
Cover_me rake task with Emma Formatter config
namespace :cover_me do
task :report do
puts "Reporting!"
CoverMe.config.formatter = CoverMe::EmmaFormatter
CoverMe.config.at_exit = Proc.new {}
CoverMe.complete!
end
end
task :spec do
Rake::Task['cover_me:report'].invoke
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment