Debian Codegraph @

vendor/mruby-source/mrbgems/mruby-bin-mruby/mrbgem.rake

raw
1 MRuby::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_test_dependency('mruby-print', :core => 'mruby-print')
8
9 if build.cxx_exception_enabled?
10 build.compile_as_cxx("#{spec.dir}/tools/mruby/mruby.c")
11 end
12 end