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

[ruby/pathname] gemspec: Explicitly list 0 executables

This gem exposes no executables.

https://github.com/ruby/pathname/commit/c401d97d58
This commit is contained in:
Olle Jonsson 2021-04-22 12:09:52 +02:00 committed by Hiroshi SHIBATA
parent ea88f49a76
commit ad3f4c07d9

View file

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