Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Only run coverage if COVERAGE is set.

  • Loading branch information...
commit bda30675a9f78f2929e1a941836e5ea94afe2584 1 parent dc25839
Gabe Berke-Williams gabebw authored
Showing with 10 additions and 3 deletions.
  1. +5 −3 .simplecov
  2. +5 −0 README.md
8 .simplecov
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
5 README.md
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
Please sign in to comment.
Something went wrong with that request. Please try again.