diff options
author | Kartik Null Cating-Subramanian <ksubramanian@chef.io> | 2015-10-09 15:15:16 -0400 |
---|---|---|
committer | Kartik Null Cating-Subramanian <ksubramanian@chef.io> | 2015-10-09 15:15:16 -0400 |
commit | ffc7b1cc75c65e33d053580181a35934c5fdeead (patch) | |
tree | 37c0b65cca534b46162b50a438f1461c924e97ea | |
parent | 1a9ae76afea3bb370ba68f207ab47e1578460316 (diff) | |
parent | 4bd1299b98c0fedd79bc23b9286a0e3b561c866d (diff) | |
download | mixlib-cli-ffc7b1cc75c65e33d053580181a35934c5fdeead.tar.gz |
Merge pull request #22 from chef/ksubrama/gemspec
Add gemspec files to allow bundler to run from the gem
-rw-r--r-- | mixlib-cli.gemspec | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mixlib-cli.gemspec b/mixlib-cli.gemspec index 32f85ab..71e1a24 100644 --- a/mixlib-cli.gemspec +++ b/mixlib-cli.gemspec @@ -20,6 +20,7 @@ Gem::Specification.new do |s| s.add_development_dependency 'rdoc' s.require_path = 'lib' - s.files = %w(LICENSE README.rdoc Gemfile Rakefile NOTICE) + Dir.glob("{lib,spec}/**/*") + s.files = %w(LICENSE README.rdoc Gemfile Rakefile NOTICE) + Dir.glob("*.gemspec") + + Dir.glob("{lib,spec}/**/*", File::FNM_DOTMATCH).reject {|f| File.directory?(f) } end |