summaryrefslogtreecommitdiff
path: root/bundler.gemspec
diff options
context:
space:
mode:
authorErik Michaels-Ober <sferik@gmail.com>2014-10-08 15:36:39 +0200
committerErik Michaels-Ober <sferik@gmail.com>2014-10-08 15:36:41 +0200
commitefa4bd73bfa9f268c219c5e43adc5c472d4081ed (patch)
tree2610d5246dff0da521ec17f017304cf205d49962 /bundler.gemspec
parentf8d9b61d6820b3b2b8fbbcf400d6123a41719dbb (diff)
downloadbundler-efa4bd73bfa9f268c219c5e43adc5c472d4081ed.tar.gz
Don't package test files with gem
Diffstat (limited to 'bundler.gemspec')
-rw-r--r--bundler.gemspec3
1 files changed, 1 insertions, 2 deletions
diff --git a/bundler.gemspec b/bundler.gemspec
index bd4d66bb6a..f94fc061f7 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