Permalink
Browse files

made rcov rake task work

  • Loading branch information...
1 parent 8d5c73a commit b215c6d56cd228f29892d20c11e619cbb448d234 @jimeh committed Mar 4, 2011
Showing with 2 additions and 0 deletions.
  1. +1 −0 Rakefile
  2. +1 −0 redistat.gemspec
View
1 Rakefile
@@ -14,6 +14,7 @@ end
RSpec::Core::RakeTask.new(:rcov) do |spec|
spec.pattern = 'spec/**/*_spec.rb'
spec.rcov = true
+ spec.rcov_opts = ['--exclude', 'spec']
end
task :default => [:start, :spec, :stop]
View
1 redistat.gemspec
@@ -25,5 +25,6 @@ Gem::Specification.new do |s|
s.add_runtime_dependency 'time_ext', '>= 0.2.8'
s.add_development_dependency 'rspec', '>= 2.1.0'
+ s.add_development_dependency 'rcov', '>= 0.9.9'
s.add_development_dependency 'yard', '>= 0.6.3'
end

0 comments on commit b215c6d

Please sign in to comment.