Include wordexp executable in gem

This commit is contained in:
Sami Samhuri 2022-01-16 21:09:57 -08:00
parent 16bb5e7c19
commit 20cf3c70a8
No known key found for this signature in database
GPG key ID: 4B4195422742FC16

View file

@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
}
# Specify which files should be added to the gem when it is released.
glob = %w[LICENSE.txt README.md lib/**/* ext/extconf.rb ext/wordexp_ext.c]
glob = %w[LICENSE.txt README.md exe/**/* lib/**/* ext/extconf.rb ext/wordexp_ext.c]
spec.files = Dir.glob(glob).reject { |f| File.directory?(f) }
spec.bindir = 'exe'
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }