mirror of
https://github.com/inspec/inspec
synced 2024-11-27 23:20:33 +00:00
Merge pull request #217 from chef/tball/gem_spec
Not using git in the gemspec file
This commit is contained in:
commit
1373496560
1 changed files with 3 additions and 2 deletions
|
@ -13,8 +13,9 @@ Gem::Specification.new do |spec|
|
||||||
spec.homepage = 'https://github.com/chef/inspec'
|
spec.homepage = 'https://github.com/chef/inspec'
|
||||||
spec.license = 'Apache 2.0'
|
spec.license = 'Apache 2.0'
|
||||||
|
|
||||||
spec.files = `hash git 2>/dev/null && git ls-files -z`.split("\x0").find_all { |x| x !~ /^\.delivery/ }
|
spec.files = %w(README.md Rakefile MAINTAINERS.toml MAINTAINERS.md LICENSE inspec.gemspec Gemfile CHANGELOG.md .rubocop.yml) +
|
||||||
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
Dir.glob("{bin,docs,examples,lib,tasks,test}/**/*", File::FNM_DOTMATCH).reject { |f| File.directory?(f) }
|
||||||
|
spec.executables = %w( inspec )
|
||||||
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
||||||
spec.require_paths = ['lib']
|
spec.require_paths = ['lib']
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue