diff options
author | Tim Smith <tsmith@chef.io> | 2018-10-05 17:47:59 -0700 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2018-10-05 17:49:21 -0700 |
commit | 4e037820d9d11ea3fcb580e65f98cdcc33b6fb49 (patch) | |
tree | b5cec63d45bf9d70783e9d173e7f2b258379c3fe /chef-universal-mingw32.gemspec | |
parent | 7d1d18b1dc3905f39694734a3c809f92c4955d57 (diff) | |
download | chef-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-universal-mingw32.gemspec')
-rw-r--r-- | chef-universal-mingw32.gemspec | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chef-universal-mingw32.gemspec b/chef-universal-mingw32.gemspec index e0dde26732..6de12265d2 100644 --- a/chef-universal-mingw32.gemspec +++ b/chef-universal-mingw32.gemspec @@ -16,7 +16,7 @@ gemspec.add_dependency "windows-api", "~> 0.4.4" gemspec.add_dependency "wmi-lite", "~> 1.0" gemspec.add_dependency "win32-taskscheduler", "~> 1.0.0" gemspec.extensions << "ext/win32-eventlog/Rakefile" -gemspec.files += %w{ext/win32-eventlog/Rakefile ext/win32-eventlog/chef-log.man} +gemspec.files += Dir.glob("{distro,ext}/**/*") gemspec.executables += %w{ chef-service-manager chef-windows-service } |