source: EcnlProtoTool/trunk/mruby-2.1.1/mrbgems/mruby-bin-mruby/mrbgem.rake@ 439

Last change on this file since 439 was 439, checked in by coas-nagasima, 4 years ago

mrubyを2.1.1に更新

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/x-ruby;charset=UTF-8
File size: 517 bytes
Line 
1MRuby::Gem::Specification.new('mruby-bin-mruby') do |spec|
2 spec.license = 'MIT'
3 spec.author = 'mruby developers'
4 spec.summary = 'mruby command'
5 spec.bins = %w(mruby)
6 spec.add_dependency('mruby-compiler', :core => 'mruby-compiler')
7 spec.add_dependency('mruby-error', :core => 'mruby-error')
8 spec.add_test_dependency('mruby-print', :core => 'mruby-print')
9
10 if build.cxx_exception_enabled?
11 build.compile_as_cxx("#{spec.dir}/tools/mruby/mruby.c", "#{spec.build_dir}/tools/mruby/mruby.cxx")
12 end
13end
Note: See TracBrowser for help on using the repository browser.