build file list with Dir[] instead of shelling out to git
This commit is contained in:
parent
e61ec033a9
commit
075632710d
@ -14,9 +14,7 @@ Gem::Specification.new do |spec|
|
||||
spec.homepage = "https://github.com/holtrop/gcovinator"
|
||||
spec.license = "MIT"
|
||||
|
||||
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
||||
f.match(%r{^(test|spec|features)/})
|
||||
end
|
||||
spec.files = Dir["{exe,lib}/**/*", "*.gemspec"]
|
||||
spec.bindir = "exe"
|
||||
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
||||
spec.require_paths = ["lib"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user