Missed a few rcov-related lines
This commit is contained in:
parent
f926429461
commit
d6511e6123
7
Rakefile
7
Rakefile
|
@ -33,12 +33,7 @@ list = FileList[
|
||||||
end
|
end
|
||||||
PKG_FILES = list
|
PKG_FILES = list
|
||||||
|
|
||||||
RCOV_ENABLED = !!(RUBY_PLATFORM != 'java' && RUBY_VERSION =~ /^1\.8/)
|
task :default => 'spec'
|
||||||
if RCOV_ENABLED
|
|
||||||
task :default => 'spec:rcov'
|
|
||||||
else
|
|
||||||
task :default => 'spec'
|
|
||||||
end
|
|
||||||
|
|
||||||
WINDOWS = (RUBY_PLATFORM =~ /mswin|win32|mingw|bccwin|cygwin/) rescue false
|
WINDOWS = (RUBY_PLATFORM =~ /mswin|win32|mingw|bccwin|cygwin/) rescue false
|
||||||
SUDO = WINDOWS ? '' : ('sudo' unless ENV['SUDOLESS'])
|
SUDO = WINDOWS ? '' : ('sudo' unless ENV['SUDOLESS'])
|
||||||
|
|
Loading…
Reference in New Issue