Merge pull request #360 from olleolleolle/feature/avoid-git-in-gemspec
Replace shelling-out-to-Git w/ Dir call
This commit is contained in:
commit
944ad69092
|
@ -17,7 +17,8 @@ Gem::Specification.new do |spec|
|
|||
spec.homepage = "https://github.com/skywinder/Github-Changelog-Generator"
|
||||
spec.license = "MIT"
|
||||
|
||||
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.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
||||
spec.require_paths = ["lib"]
|
||||
|
|
Loading…
Reference in New Issue
Block a user