Last change
on this file since 332 was 321, checked in by coas-nagasima, 7 years ago |
文字コードを設定
|
-
Property svn:eol-style
set to
native
-
Property svn:mime-type
set to
text/x-ruby;charset=UTF-8
|
File size:
611 bytes
|
Line | |
---|
1 | MRuby::Gem::Specification.new 'mruby-bin-mrbc' do |spec|
|
---|
2 | spec.license = 'MIT'
|
---|
3 | spec.author = 'mruby developers'
|
---|
4 | spec.summary = 'mruby compiler executable'
|
---|
5 |
|
---|
6 | spec.add_dependency 'mruby-compiler', :core => 'mruby-compiler'
|
---|
7 |
|
---|
8 | exec = exefile("#{build.build_dir}/bin/mrbc")
|
---|
9 | mrbc_objs = Dir.glob("#{spec.dir}/tools/mrbc/*.c").map { |f| objfile(f.pathmap("#{spec.build_dir}/tools/mrbc/%n")) }.flatten
|
---|
10 |
|
---|
11 | file exec => mrbc_objs + [libfile("#{build.build_dir}/lib/libmruby_core")] do |t|
|
---|
12 | build.linker.run t.name, t.prerequisites
|
---|
13 | end
|
---|
14 |
|
---|
15 | build.bins << 'mrbc' unless build.bins.find { |v| v == 'mrbc' }
|
---|
16 | end
|
---|
Note:
See
TracBrowser
for help on using the repository browser.