summaryrefslogtreecommitdiffstats
path: root/tasks/rcov.rake
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2009-02-28 21:19:37 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2009-02-28 21:19:37 +0100
commit0a8b6ea5dc6a9d56638b985dd67b0c45f167e381 (patch)
tree1932cb877c3e623f9a300c37971bb4e073670aea /tasks/rcov.rake
parent50bb456cf469f73d3a32474dc07bd58c0c64dba1 (diff)
downloadmmap-ruby-0a8b6ea5dc6a9d56638b985dd67b0c45f167e381.zip
mmap-ruby-0a8b6ea5dc6a9d56638b985dd67b0c45f167e381.tar.gz
mmap goes rakeified, build and test OKHEADmaster
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