diff options
author | Olle Jonsson <[email protected]> | 2021-04-06 10:01:37 +0200 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2021-04-08 12:09:30 +0900 |
commit | 2b66b224793915adb8ed27308e9db26fc273635b (patch) | |
tree | b6fe7311003b186b29b5d1c3b0d08196162aa7e0 | |
parent | 0d1d779c239c4e4d98c42a7e97a9f43e3c5e53ff (diff) |
[ruby/optparse] gemspec: Explicitly list 0 executables
This gem exposes no executable files.
https://github.com/ruby/optparse/commit/d14bf83007
-rw-r--r-- | lib/optparse/optparse.gemspec | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/optparse/optparse.gemspec b/lib/optparse/optparse.gemspec index 831c787ac7..b8ec8cf5d8 100644 --- a/lib/optparse/optparse.gemspec +++ b/lib/optparse/optparse.gemspec @@ -28,6 +28,6 @@ Gem::Specification.new do |spec| } end spec.bindir = "exe" - spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) } + spec.executables = [] spec.require_paths = ["lib"] end |