summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick LaMuro <nicklamuro@gmail.com>2017-07-12 15:23:49 -0500
committerNick LaMuro <nicklamuro@gmail.com>2017-07-12 15:48:43 -0500
commitf064055d6db042f7c19c541b8866afb5eadef55d (patch)
tree5b497b54cab8c1ee3b0bf176ae50fa4e7a0e888c
parent0d84c9c5156df8f722e91e961a63849b51a4ed11 (diff)
downloadbundler-f064055d6db042f7c19c541b8866afb5eadef55d.tar.gz
Only include the bin and lib directories from git
The `bin/` dir was getting included as part of the bundler release, along with all of the files from the top level directory in the project, most of which don't need to be there (CI config files mostly). Only the `lib/` and `exe/` dirs are needed from git.
-rw-r--r--bundler.gemspec2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundler.gemspec b/bundler.gemspec
index a2283d6caa..c77567a926 100644
--- a/bundler.gemspec
+++ b/bundler.gemspec
@@ -37,7 +37,7 @@ Gem::Specification.new do |s|
s.add_development_dependency "ronn", "~> 0.7.3"
s.add_development_dependency "rspec", "~> 3.6"
- s.files = `git ls-files -z`.split("\x0").reject {|f| f.match(%r{^(test|spec|features)/}) }
+ s.files = `git ls-files -z`.split("\x0").select {|f| f.match(%r{^(lib|exe)/}) }
# 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.
s.files += Dir.glob("man/**/*")