mirror of
https://github.com/samsonjs/http-cookie.git
synced 2026-03-25 08:55:53 +00:00
Drop rcovtask for 1.8. It does not work for me.
This commit is contained in:
parent
a74db60721
commit
e09d7ebcac
1 changed files with 3 additions and 9 deletions
12
Rakefile
12
Rakefile
|
|
@ -1,14 +1,8 @@
|
|||
require "bundler/gem_tasks"
|
||||
require 'rake/testtask'
|
||||
|
||||
if RUBY_VERSION >= '1.9.0'
|
||||
require 'rake/testtask'
|
||||
Rake::TestTask
|
||||
else
|
||||
require 'rcov/rcovtask'
|
||||
Rcov::RcovTask
|
||||
end.new(:test) do |test|
|
||||
test.libs << 'lib' << 'test'
|
||||
test.ruby_opts << '-r./test/simplecov_start.rb' if !defined?(Rcov)
|
||||
Rake::TestTask.new(:test) do |test|
|
||||
test.ruby_opts << '-r./test/simplecov_start.rb' if defined?(SimbleCov)
|
||||
test.pattern = 'test/**/test_*.rb'
|
||||
test.verbose = true
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue