Replace shelling-out-to-Git w/ Dir call
This commit is contained in:
parent
6d9fcf202e
commit
170eb40f33
|
@ -18,7 +18,8 @@ Gem::Specification.new do |spec|
|
||||||
spec.license = "MIT"
|
spec.license = "MIT"
|
||||||
spec.extensions = ["Rakefile"]
|
spec.extensions = ["Rakefile"]
|
||||||
|
|
||||||
spec.files = `git ls-files -z`.split("\x0")
|
spec.files = Dir['{bin,lib,man,spec}/**/*', 'Rakefile', 'README.md']
|
||||||
|
|
||||||
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
||||||
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
||||||
spec.require_paths = ["lib"]
|
spec.require_paths = ["lib"]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user