repair variables
This commit is contained in:
parent
ee511e4c0c
commit
705995c1c3
@ -22,9 +22,9 @@ SimpleCov.start do
|
|||||||
SimpleCov.print_error_status = false
|
SimpleCov.print_error_status = false
|
||||||
end
|
end
|
||||||
excludes = ["test", "vendor"]
|
excludes = ["test", "vendor"]
|
||||||
subdirs = Dir.chdir(SimpleCov.root) { Dir.glob("*") }
|
subdirs = Dir.chdir(SimpleCov.root) { Pathname.glob("*") }
|
||||||
.reject { |d| d.end_with?(".rb") || excludes.include?(d) }
|
.reject { |p| p.extname == ".rb" || excludes.include?(p.to_s) }
|
||||||
.map { |d| "#{d}/**/*.rb" }.join(",")
|
.map { |p| "#{p}/**/*.rb" }.join(",")
|
||||||
files = "#{SimpleCov.root}/{#{subdirs},*.rb}"
|
files = "#{SimpleCov.root}/{#{subdirs},*.rb}"
|
||||||
|
|
||||||
if ENV["HOMEBREW_INTEGRATION_TEST"]
|
if ENV["HOMEBREW_INTEGRATION_TEST"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user