diff options
author | Tim Smith <tsmith@chef.io> | 2018-12-03 16:13:40 -0800 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2018-12-03 16:13:40 -0800 |
commit | c257a79aff124c74499ee01f4177cd6b8d5cf5fc (patch) | |
tree | 346c7570586d85c1ea0646e4ba339d3d1054d0ab | |
parent | 5d5da4457867cb9ee2eac987fd139f88c403b9bd (diff) | |
download | wmi-lite-c257a79aff124c74499ee01f4177cd6b8d5cf5fc.tar.gz |
Slim the files we ship in the gemslim
Only ship the license the the lib dir in the artifact.
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r-- | wmi-lite.gemspec | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/wmi-lite.gemspec b/wmi-lite.gemspec index 7c473c7..294e049 100644 --- a/wmi-lite.gemspec +++ b/wmi-lite.gemspec @@ -18,9 +18,7 @@ Gem::Specification.new do |spec| spec.homepage = 'https://github.com/chef/wmi-lite' spec.license = 'Apache-2.0' - spec.files = `git ls-files`.split($/) - spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) } - spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) + spec.files = %w{LICENSE} + Dir.glob("lib/**/*") spec.require_paths = ['lib'] spec.add_development_dependency 'bundler', '~> 1.3' |