mirror of
https://github.com/ruby/ruby.git
synced 2025-08-23 21:14:23 +02:00
[ruby/reline] Check WITH_VTERM env to add vterm gem as dependency
27b689a7e2
This commit is contained in:
parent
9e940eae60
commit
16f31da92e
1 changed files with 1 additions and 1 deletions
|
@ -24,6 +24,6 @@ Gem::Specification.new do |spec|
|
||||||
spec.add_development_dependency 'rake'
|
spec.add_development_dependency 'rake'
|
||||||
spec.add_development_dependency 'test-unit'
|
spec.add_development_dependency 'test-unit'
|
||||||
is_unix = RUBY_PLATFORM =~ /(aix|darwin|linux|(net|free|open)bsd|cygwin|solaris|irix|hpux)/i
|
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'
|
spec.add_development_dependency 'yamatanooroti', '>= 0.0.6'
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue