From 075632710de8a3f56e9d23d83309091e503672ea Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Sat, 14 Jan 2017 18:56:28 -0500 Subject: [PATCH] build file list with Dir[] instead of shelling out to git --- gcovinator.gemspec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gcovinator.gemspec b/gcovinator.gemspec index d951dcf..e9582a8 100644 --- a/gcovinator.gemspec +++ b/gcovinator.gemspec @@ -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"]