mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[ruby/reline] Moved development dependencies to Gemfile
As expressions in a gemspec file are evaluated at the build time,
but not the run time, the conditional in the gemspec will not work
as intended.
c09b7c454a
This commit is contained in:
parent
5543695a19
commit
b0b3022f95
1 changed files with 0 additions and 6 deletions
|
@ -20,10 +20,4 @@ Gem::Specification.new do |spec|
|
||||||
spec.required_ruby_version = Gem::Requirement.new('>= 2.5')
|
spec.required_ruby_version = Gem::Requirement.new('>= 2.5')
|
||||||
|
|
||||||
spec.add_dependency 'io-console', '~> 0.5'
|
spec.add_dependency 'io-console', '~> 0.5'
|
||||||
spec.add_development_dependency 'bundler'
|
|
||||||
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 && ENV['WITH_VTERM']
|
|
||||||
spec.add_development_dependency 'yamatanooroti', '>= 0.0.6'
|
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue