Skip to content

Commit

Permalink
Avoid using git ls-files in .gemspec
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinjalbert committed Feb 23, 2015
1 parent 125859d commit 9cf3e93
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions git_evolution.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ Gem::Specification.new do |spec|
spec.homepage = ''
spec.license = 'MIT'

spec.files = `git ls-files -z`.split("\x0")
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.files = Dir['**/*']
spec.test_files = Dir['{test,spec,features}/**/*']
spec.executables = Dir['bin/*'].map { |f| File.basename(f) }
spec.require_paths = ['lib']

spec.add_development_dependency 'bundler', '~> 1.7'
Expand Down

0 comments on commit 9cf3e93

Please sign in to comment.