Sha256: 423ab3f7930241d9d6c47221980e1e859edcb91109477d5d10156747d58b49f0

Contents?: true

Size: 634 Bytes

Versions: 2

Compression:

Stored size: 634 Bytes

Contents

MRuby::Gem::Specification.new('mruby-io') do |spec|
  spec.license = 'MIT'
  spec.authors = 'Internet Initiative Japan Inc.'
  spec.summary = 'IO and File class'

  spec.cc.include_paths << "#{build.root}/src"

  case RUBY_PLATFORM
  when /mingw|mswin/
    spec.linker.libraries += ['Ws2_32']
    #spec.cc.include_paths += ["C:/Windows/system/include"]
    spec.linker.library_paths += ["C:/Windows/system"]
  end
  if build.kind_of?(MRuby::CrossBuild) && %w(x86_64-w64-mingw32 i686-w64-mingw32).include?(build.host_target)
    spec.linker.libraries += ['ws2_32']
  end
  spec.add_test_dependency 'mruby-time', core: 'mruby-time'
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
script_core-0.1.1 ext/enterprise_script_service/mruby/mrbgems/mruby-io/mrbgem.rake
script_core-0.1.0 ext/enterprise_script_service/mruby/mrbgems/mruby-io/mrbgem.rake