remove tests and tasks from release gems

Developers use the github repo to get full access to the development of this gem. The fixed (non git-ls-files) approach to packaging files has led to a 30mb gem recently, this will prevent that from happening again.
This commit is contained in:
Dominik Richter 2016-08-16 06:14:10 -07:00
parent c43f3fe155
commit 11933ef305

View file

@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
README.md Rakefile MAINTAINERS.toml MAINTAINERS.md LICENSE inspec.gemspec
Gemfile CHANGELOG.md .rubocop.yml
} + Dir.glob(
'{bin,docs,examples,lib,tasks,test}/**/*', File::FNM_DOTMATCH
'{bin,docs,examples,lib}/**/*', File::FNM_DOTMATCH
).reject { |f| File.directory?(f) }
spec.executables = %w{ inspec }