Don't need rcov usually
This commit is contained in:
parent
fd0446fff7
commit
29d64f367f
6
Rakefile
6
Rakefile
@ -17,7 +17,6 @@ require 'rubygems'
|
||||
require 'rake'
|
||||
$:.unshift File.join(File.dirname(__FILE__), 'lib')
|
||||
require 'compass'
|
||||
require 'rcov/rcovtask'
|
||||
|
||||
# ----- Default: Testing ------
|
||||
|
||||
@ -152,6 +151,8 @@ end
|
||||
|
||||
require 'cucumber/rake/task'
|
||||
|
||||
begin
|
||||
require 'rcov/rcovtask'
|
||||
namespace :rcov do
|
||||
Cucumber::Rake::Task.new(:cucumber) do |t|
|
||||
t.rcov = true
|
||||
@ -179,4 +180,7 @@ namespace :rcov do
|
||||
Rake::Task["rcov:cucumber"].invoke
|
||||
end
|
||||
end
|
||||
rescue LoadError
|
||||
#pass
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user