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.6 ext/enterprise_script_service/mruby/mrbgems/mruby-bin-mrbc/mrbgem.rake
script_core-0.0.5 ext/enterprise_script_service/mruby/mrbgems/mruby-bin-mrbc/mrbgem.rake
esruby-0.2.0 resources/mruby/mrbgems/mruby-bin-mrbc/mrbgem.rake
esruby-0.1.5 resources/mruby/mrbgems/mruby-bin-mrbc/mrbgem.rake
esruby-0.1.4 resources/mruby/mrbgems/mruby-bin-mrbc/mrbgem.rake
esruby-0.1.3 resources/mruby/mrbgems/mruby-bin-mrbc/mrbgem.rake
esruby-0.1.2 resources/mruby/mrbgems/mruby-bin-mrbc/mrbgem.rake
esruby-0.1.1 resources/mruby/mrbgems/mruby-bin-mrbc/mrbgem.rake
esruby-0.1.0 resources/mruby/mrbgems/mruby-bin-mrbc/mrbgem.rake
esruby-0.0.11 resources/mruby/mrbgems/mruby-bin-mrbc/mrbgem.rake
esruby-0.0.10 resources/mruby/mrbgems/mruby-bin-mrbc/mrbgem.rake
esruby-0.0.9 resources/mruby/mrbgems/mruby-bin-mrbc/mrbgem.rake
esruby-0.0.8 resources/mruby/mrbgems/mruby-bin-mrbc/mrbgem.rake
esruby-0.0.7 resources/mruby/mrbgems/mruby-bin-mrbc/mrbgem.rake
esruby-0.0.6 resources/mruby/mrbgems/mruby-bin-mrbc/mrbgem.rake
esruby-0.0.5 resources/mruby/mrbgems/mruby-bin-mrbc/mrbgem.rake
esruby-0.0.3 resources/mruby/mrbgems/mruby-bin-mrbc/mrbgem.rake
esruby-0.0.2 resources/mruby/mrbgems/mruby-bin-mrbc/mrbgem.rake
esruby-0.0.0 resources/mruby/mrbgems/mruby-bin-mrbc/mrbgem.rake
script_core-0.0.4 ext/enterprise_script_service/mruby/mrbgems/mruby-bin-mrbc/mrbgem.rake