summaryrefslogtreecommitdiffstats
path: root/tasks/rcov.rake
diff options
context:
space:
mode:
Diffstat (limited to 'tasks/rcov.rake')
-rw-r--r--tasks/rcov.rake9
1 files changed, 9 insertions, 0 deletions
diff --git a/tasks/rcov.rake b/tasks/rcov.rake
new file mode 100644
index 0000000..b1ad8bb
--- /dev/null
+++ b/tasks/rcov.rake
@@ -0,0 +1,9 @@
+
+require 'rcov/rcovtask'
+
+# RCOV TASK
+Rcov::RcovTask.new do |t|
+ t.output_dir = RCOV_DIR
+ t.verbose = true
+ t.rcov_opts = [ "--charset utf8", "-T", "-i ^test", "-i ^bin", "-i ^lib", "-x ^/home", "-x ^#{ENV['GEM_HOME']}"]
+end