diff options
author | Erik Michaels-Ober <sferik@gmail.com> | 2014-10-08 15:36:39 +0200 |
---|---|---|
committer | Erik Michaels-Ober <sferik@gmail.com> | 2014-10-08 15:36:41 +0200 |
commit | efa4bd73bfa9f268c219c5e43adc5c472d4081ed (patch) | |
tree | 2610d5246dff0da521ec17f017304cf205d49962 /bundler.gemspec | |
parent | f8d9b61d6820b3b2b8fbbcf400d6123a41719dbb (diff) | |
download | bundler-efa4bd73bfa9f268c219c5e43adc5c472d4081ed.tar.gz |
Don't package test files with gem
Diffstat (limited to 'bundler.gemspec')
-rw-r--r-- | bundler.gemspec | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bundler.gemspec b/bundler.gemspec index bd4d66bb..f94fc061 100644 --- a/bundler.gemspec +++ b/bundler.gemspec @@ -20,12 +20,11 @@ Gem::Specification.new do |spec| spec.add_development_dependency 'ronn', '~> 0.7.3' spec.add_development_dependency 'rspec', '~> 3.0' - spec.files = `git ls-files -z`.split("\x0") + spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } # we don't check in man pages, but we need to ship them because # we use them to generate the long-form help for each command. spec.files += Dir.glob('lib/bundler/man/**/*') - spec.test_files = spec.files.grep(%r{^spec/}) spec.executables = %w(bundle bundler) spec.require_paths = ["lib"] end |