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

[ruby/io-console] Move FFI console under lib

Having the separate dir makes testing difficult and doesn't
reflect the structure the gem will eventually have. We can filter
these files out if necessary when building the CRuby gem.

https://github.com/ruby/io-console/commit/881010447c
This commit is contained in:
Charles Oliver Nutter 2021-02-03 13:53:28 -06:00 committed by Hiroshi SHIBATA
parent 042860bd65
commit 270b16e70c
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2

View file

@ -25,15 +25,15 @@ Gem::Specification.new do |s|
if Gem::Platform === s.platform and s.platform =~ 'java' if Gem::Platform === s.platform and s.platform =~ 'java'
s.files.delete_if {|f| f.start_with?("ext/")} s.files.delete_if {|f| f.start_with?("ext/")}
s.extensions.clear s.extensions.clear
s.require_paths.unshift("jruby")
s.files.concat(%w[ s.files.concat(%w[
jruby/io/console.rb lib/io/console.rb
jruby/io/console/bsd_console.rb lib/io/console/ffi/bsd_console.rb
jruby/io/console/common.rb lib/io/console/ffi/common.rb
jruby/io/console/linux_console.rb lib/io/console/ffi/console.rb
jruby/io/console/native_console.rb lib/io/console/ffi/linux_console.rb
jruby/io/console/stty_console.rb lib/io/console/ffi/native_console.rb
jruby/io/console/stub_console.rb lib/io/console/ffi/stty_console.rb
lib/io/console/ffi/stub_console.rb
]) ])
end end