1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[ruby/resolv] gemspec: Explicitly list 0 executables

This gem exposes no executables, and this makes that clearer.

https://github.com/ruby/resolv/commit/8797a9d3ce
This commit is contained in:
Olle Jonsson 2021-04-06 11:48:30 +02:00 committed by Hiroshi SHIBATA
parent c27e8f1caf
commit 2229fc8b57

View file

@ -17,6 +17,6 @@ Gem::Specification.new do |spec|
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
end end
spec.bindir = "exe" spec.bindir = "exe"
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.executables = []
spec.require_paths = ["lib"] spec.require_paths = ["lib"]
end end