diff options
author | Tim Smith <tsmith@chef.io> | 2018-12-11 20:14:10 -0800 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2018-12-11 20:14:10 -0800 |
commit | fc501a5a2b4a6fab4e17f1e4e38dfc48339de179 (patch) | |
tree | 277822ba032b53728834e4211c432ee1b5923a03 /mixlib-authentication.gemspec | |
parent | 46b1eca9685a282b4ff4282fa062e25a1c9fadac (diff) | |
download | mixlib-authentication-fc501a5a2b4a6fab4e17f1e4e38dfc48339de179.tar.gz |
Only ship the required libraries in the gem artifactslim
Skip the dev and test files from the gem artifact.
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'mixlib-authentication.gemspec')
-rw-r--r-- | mixlib-authentication.gemspec | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/mixlib-authentication.gemspec b/mixlib-authentication.gemspec index 4f2b9e3..eeb46c6 100644 --- a/mixlib-authentication.gemspec +++ b/mixlib-authentication.gemspec @@ -9,9 +9,8 @@ Gem::Specification.new do |s| s.license = "Apache-2.0" s.author = "Chef Software, Inc." s.email = "info@chef.io" - s.homepage = "https://www.chef.io" + s.homepage = "https://github.com/chef/mixlib-authentication" - s.require_path = "lib" - s.files = %w{LICENSE README.md Gemfile Rakefile NOTICE} + Dir.glob("*.gemspec") + - Dir.glob("{lib,spec}/**/*", File::FNM_DOTMATCH).reject { |f| File.directory?(f) } + s.files = %w{LICENSE} + Dir.glob("lib/**/*") + s.require_paths = ["lib"] end |