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

[ruby/reline] Check WITH_VTERM env to add vterm gem as dependency

https://github.com/ruby/reline/commit/27b689a7e2
This commit is contained in:
aycabta 2021-04-04 02:44:59 +09:00 committed by Nobuyoshi Nakada
parent 9e940eae60
commit 16f31da92e
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

View file

@ -24,6 +24,6 @@ Gem::Specification.new do |spec|
spec.add_development_dependency 'rake'
spec.add_development_dependency 'test-unit'
is_unix = RUBY_PLATFORM =~ /(aix|darwin|linux|(net|free|open)bsd|cygwin|solaris|irix|hpux)/i
spec.add_development_dependency 'vterm', '>= 0.0.5' if is_unix
spec.add_development_dependency 'vterm', '>= 0.0.5' if is_unix && ENV['WITH_VTERM']
spec.add_development_dependency 'yamatanooroti', '>= 0.0.6'
end