mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Merge pull request #727 from mattn/dep_gems
Add dependency to build gems list
This commit is contained in:
@@ -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'
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -29,5 +29,7 @@ mrb_init_mrbgems(mrb_state *mrb) {
|
||||
__EOF__
|
||||
end
|
||||
end
|
||||
|
||||
file "#{build_dir}/mrbgems/gem_init.c" => MRUBY_CONFIG
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user