Skip to content
This repository has been archived by the owner on Jun 8, 2019. It is now read-only.

Commit

Permalink
Only run coverage if COVERAGE is set.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabe Berke-Williams committed Oct 15, 2011
1 parent dc25839 commit bda3067
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .simplecov
@@ -1,5 +1,7 @@
# vim: syntax=ruby ft=ruby
SimpleCov.start do
add_filter "/spec/"
add_filter "/features/"
if ENV['COVERAGE']
SimpleCov.start do
add_filter "/spec/"
add_filter "/features/"
end
end
5 changes: 5 additions & 0 deletions README.md
Expand Up @@ -80,6 +80,11 @@ end

You can hook in any custom code you want to run there before deploying!

## Development
To generate coverage (only on 1.9.x), run rake with COVERAGE set:

COVERAGE=1 rake

## What's with the name?

Kumade ([pronunciation here](http://translate.google.com/#ja|en|熊手)) means
Expand Down

0 comments on commit bda3067

Please sign in to comment.