summaryrefslogtreecommitdiff
path: root/chef.gemspec
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-10-05 17:47:59 -0700
committerTim Smith <tsmith@chef.io>2018-10-05 17:49:21 -0700
commit4e037820d9d11ea3fcb580e65f98cdcc33b6fb49 (patch)
treeb5cec63d45bf9d70783e9d173e7f2b258379c3fe /chef.gemspec
parent7d1d18b1dc3905f39694734a3c809f92c4955d57 (diff)
downloadchef-4e037820d9d11ea3fcb580e65f98cdcc33b6fb49.tar.gz
Only include the Windows distro files on Windows
We don't actually need these powershell scripts and DLLs on non-Windows platforms. This shaves 300k from our gem size on non-Windows platforms. Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'chef.gemspec')
-rw-r--r--chef.gemspec2
1 files changed, 1 insertions, 1 deletions
diff --git a/chef.gemspec b/chef.gemspec
index 6ad2e4e2c3..b9a80a0b4b 100644
--- a/chef.gemspec
+++ b/chef.gemspec
@@ -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 CONTRIBUTING.md VERSION} + Dir.glob("{distro,lib,lib-backcompat,tasks,spec}/**/*", File::FNM_DOTMATCH).reject { |f| File.directory?(f) } + Dir.glob("*.gemspec")
+ 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")
end