summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bundler.gemspec4
1 files changed, 3 insertions, 1 deletions
diff --git a/bundler.gemspec b/bundler.gemspec
index 30bee33d15..921671ece5 100644
--- a/bundler.gemspec
+++ b/bundler.gemspec
@@ -38,10 +38,12 @@ 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/**/*")
+ # Include the CHANGELOG.md, LICENSE.md, README.md manually
+ s.files += %w[CHANGELOG.md LICENSE.md README.md]
s.bindir = "exe"
s.executables = %w[bundle bundler]