Merge pull request #727 from mattn/dep_gems

Add dependency to build gems list
This commit is contained in:
Yukihiro "Matz" Matsumoto
2013-01-11 05:52:45 -08:00
3 changed files with 5 additions and 2 deletions
+2 -1
View File
@@ -8,7 +8,8 @@ load 'tasks/mruby_gem_spec.rake'
##############################
# compile flags
load File.expand_path(ENV['CONFIG'] || './build_config.rb')
MRUBY_CONFIG = File.expand_path(ENV['MRUBY_CONFIG'] || './build_config.rb')
load MRUBY_CONFIG
load 'tasks/rules.rake'
load 'src/mruby_core.rake'
+1 -1
View File
@@ -83,7 +83,7 @@ MRuby::CrossBuild.new('i386') do |conf|
end
```
You can configurate the same options as for a normal build.
You can configurate the same options as for a normal build. You can specified your own build_config.rb with *$MRUBY_CONFIG*.
## Build process
+2
View File
@@ -29,5 +29,7 @@ mrb_init_mrbgems(mrb_state *mrb) {
__EOF__
end
end
file "#{build_dir}/mrbgems/gem_init.c" => MRUBY_CONFIG
end
end