diff options
Diffstat (limited to 'chef.gemspec')
-rw-r--r-- | chef.gemspec | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/chef.gemspec b/chef.gemspec index b5c9d2e71c..3e2928d504 100644 --- a/chef.gemspec +++ b/chef.gemspec @@ -58,5 +58,8 @@ Gem::Specification.new do |s| s.executables = %w{ knife } s.require_paths = %w{ lib } - s.files = %w{Gemfile Rakefile LICENSE README.md} + Dir.glob("{lib,tasks,spec}/**/*", File::FNM_DOTMATCH).reject { |f| File.directory?(f) } + Dir.glob("*.gemspec") + s.files = %w{Gemfile Rakefile LICENSE README.md} + + Dir.glob("{lib,spec}/**/*", File::FNM_DOTMATCH).reject { |f| File.directory?(f) } + + Dir.glob("*.gemspec") + + Dir.glob("tasks/rspec.rb") end |