diff options
author | Tim Smith <tsmith@chef.io> | 2018-10-23 19:34:50 -0700 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2018-10-23 19:34:50 -0700 |
commit | 38785ebc6f0938f7bead3ef70e06506a2c1a5fe6 (patch) | |
tree | b6a83a883dab439b511448db3840d8dfe1f466ad /chef.gemspec | |
parent | 2e93478749af50eebfdf885dcbfee92cb6e7c688 (diff) | |
download | chef-38785ebc6f0938f7bead3ef70e06506a2c1a5fe6.tar.gz |
Don't ship contributing.md and VERSION file in the gemslim
Neither of these are needed in the gem. Gets us back 16k on disk.
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'chef.gemspec')
-rw-r--r-- | chef.gemspec | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chef.gemspec b/chef.gemspec index b9a80a0b4b..7a1d5dfc68 100644 --- a/chef.gemspec +++ b/chef.gemspec @@ -5,7 +5,7 @@ Gem::Specification.new do |s| s.name = "chef" s.version = Chef::VERSION s.platform = Gem::Platform::RUBY - s.extra_rdoc_files = ["README.md", "CONTRIBUTING.md", "LICENSE" ] + s.extra_rdoc_files = ["README.md", "LICENSE" ] s.summary = "A systems integration framework, built to bring the benefits of configuration management to your entire infrastructure." s.description = s.summary s.license = "Apache-2.0" @@ -59,5 +59,5 @@ Gem::Specification.new do |s| s.executables = %w{ chef-client chef-solo knife chef-shell chef-apply chef-resource-inspector } s.require_paths = %w{ lib } - s.files = %w{Gemfile Rakefile LICENSE README.md VERSION} + Dir.glob("{lib,lib-backcompat,tasks,spec}/**/*", File::FNM_DOTMATCH).reject { |f| File.directory?(f) } + Dir.glob("*.gemspec") + s.files = %w{Gemfile Rakefile LICENSE README.md} + Dir.glob("{lib,tasks,spec}/**/*", File::FNM_DOTMATCH).reject { |f| File.directory?(f) } + Dir.glob("*.gemspec") end |