mirror of
https://github.com/samsonjs/wordexp.git
synced 2026-04-27 14:57:42 +00:00
Add native extension to gemspec
This commit is contained in:
parent
c1b3e3451e
commit
cac7da8d10
1 changed files with 1 additions and 0 deletions
|
|
@ -24,5 +24,6 @@ Gem::Specification.new do |spec|
|
||||||
spec.files = Dir.glob(glob).reject { |f| File.directory?(f) }
|
spec.files = Dir.glob(glob).reject { |f| File.directory?(f) }
|
||||||
spec.bindir = 'exe'
|
spec.bindir = 'exe'
|
||||||
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
||||||
|
spec.extensions = %w[ext/wordexp_ext/extconf.rb]
|
||||||
spec.require_paths = %w[ext lib]
|
spec.require_paths = %w[ext lib]
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue