Add test_dependency from mruby-io to mruby-time.

parent 54cd2623
...@@ -4,7 +4,7 @@ MRuby::Gem::Specification.new('mruby-io') do |spec| ...@@ -4,7 +4,7 @@ MRuby::Gem::Specification.new('mruby-io') do |spec|
spec.summary = 'IO and File class' spec.summary = 'IO and File class'
spec.cc.include_paths << "#{build.root}/src" spec.cc.include_paths << "#{build.root}/src"
case RUBY_PLATFORM case RUBY_PLATFORM
when /mingw|mswin/ when /mingw|mswin/
spec.linker.libraries += ['Ws2_32'] spec.linker.libraries += ['Ws2_32']
...@@ -14,4 +14,5 @@ MRuby::Gem::Specification.new('mruby-io') do |spec| ...@@ -14,4 +14,5 @@ MRuby::Gem::Specification.new('mruby-io') do |spec|
if build.kind_of?(MRuby::CrossBuild) && %w(x86_64-w64-mingw32 i686-w64-mingw32).include?(build.host_target) if build.kind_of?(MRuby::CrossBuild) && %w(x86_64-w64-mingw32 i686-w64-mingw32).include?(build.host_target)
spec.linker.libraries += ['ws2_32'] spec.linker.libraries += ['ws2_32']
end end
spec.add_test_dependency 'mruby-time', core: 'mruby-time'
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment