Skip to content

Commit

Permalink
Rakefile fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nu7hatch committed Nov 4, 2010
1 parent 9cd986a commit 77b8426
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,14 @@ Rake::TestTask.new(:test) do |test|
test.verbose = true
end

Rcov::RcovTask.new do |test|
test.libs << 'test'
test.pattern = 'test/**/test_*.rb'
test.verbose = true
begin
Rcov::RcovTask.new do |test|
test.libs << 'test'
test.pattern = 'test/**/test_*.rb'
test.verbose = true
end
rescue
puts "Rcov is not available!"
end

Rake::RDocTask.new do |rdoc|
Expand Down

0 comments on commit 77b8426

Please sign in to comment.