Sha256: 8f81f2ea8e50ca1635ce111e9a3cb5a7778d4ab973fd1f2cb69c0d91bf944caa

Contents?: true

Size: 611 Bytes

Versions: 23

Compression:

Stored size: 611 Bytes

Contents

MRuby::Gem::Specification.new 'mruby-bin-mrbc' do |spec|
  spec.license = 'MIT'
  spec.author  = 'mruby developers'
  spec.summary = 'mruby compiler executable'

  spec.add_dependency 'mruby-compiler', :core => 'mruby-compiler'

  exec = exefile("#{build.build_dir}/bin/mrbc")
  mrbc_objs = Dir.glob("#{spec.dir}/tools/mrbc/*.c").map { |f| objfile(f.pathmap("#{spec.build_dir}/tools/mrbc/%n")) }.flatten

  file exec => mrbc_objs + [libfile("#{build.build_dir}/lib/libmruby_core")] do |t|
    build.linker.run t.name, t.prerequisites
  end

  build.bins << 'mrbc' unless build.bins.find { |v| v == 'mrbc' }
end

Version data entries

23 entries across 23 versions & 2 rubygems

Version Path
script_core-0.0.3 ext/enterprise_script_service/mruby/mrbgems/mruby-bin-mrbc/mrbgem.rake
script_core-0.0.2 ext/enterprise_script_service/mruby/mrbgems/mruby-bin-mrbc/mrbgem.rake
script_core-0.0.1 ext/enterprise_script_service/mruby/mrbgems/mruby-bin-mrbc/mrbgem.rake