Permalink
Browse files

Only run coverage if COVERAGE is set.

  • Loading branch information...
1 parent dc25839 commit bda30675a9f78f2929e1a941836e5ea94afe2584 Gabe Berke-Williams committed Oct 15, 2011
Showing with 10 additions and 3 deletions.
  1. +5 −3 .simplecov
  2. +5 −0 README.md
View
@@ -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
View
@@ -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

0 comments on commit bda3067

Please sign in to comment.