We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a4d9b6d + 9dba9d5 commit c42718bCopy full SHA for c42718b
src/GitVersionExe/GemAssets/gitversion.gemspec
@@ -13,8 +13,8 @@ EOF
13
spec.homepage = 'http://github.com/Particular/GitVersion'
14
spec.rubyforge_project = 'GitVersion'
15
16
- spec.files = Dir['bin/**/*', 'lib/**/*', '*.gemspec']
17
- spec.executables = spec.files.grep(%r{^bin/.+(?<!\.exe|\.pdb)$}) { |f| File.basename(f) }
+ spec.files = Dir['bin/**/*', 'lib/**/*', '*.gemspec'].reject { |f| File.directory?(f) }
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }.reject { |f| f =~ /\.(exe|pdb|dll)$/}
18
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
spec.require_paths = ['lib']
20
end
0 commit comments