diff options
| author | Yuichiro MASUI <[email protected]> | 2013-01-28 18:22:11 +0900 |
|---|---|---|
| committer | Yuichiro MASUI <[email protected]> | 2013-01-28 18:22:11 +0900 |
| commit | 5a152c82e640aa1c12e0bedded2233fcd9a8cf18 (patch) | |
| tree | 6df0d04a796d16d83248f48eb4f6396711aee0d9 /Rakefile | |
| parent | 0410bb7623a27ac427f190e3144c85b6446bec05 (diff) | |
| download | mruby-5a152c82e640aa1c12e0bedded2233fcd9a8cf18.tar.gz mruby-5a152c82e640aa1c12e0bedded2233fcd9a8cf18.zip | |
load MRUBY_CONFIG script after 'build_config.rb'
Diffstat (limited to 'Rakefile')
| -rw-r--r-- | Rakefile | 15 |
1 files changed, 12 insertions, 3 deletions
@@ -8,8 +8,17 @@ load 'tasks/mrbgem_spec.rake' ############################## # compile flags -MRUBY_CONFIG = File.expand_path(ENV['MRUBY_CONFIG'] || './build_config.rb') -load MRUBY_CONFIG +load 'build_config.rb' + +MRUBY_CONFIGS = ['build_config.rb'] +if ENV['MRUBY_CONFIG'] + MRUBY_CONFIGS << ENV['MRUBY_CONFIG'] + load ENV['MRUBY_CONFIG'] +end + +MRuby.each_target do |build| + build.define_rules +end load 'src/mruby_core.rake' load 'mrblib/mrblib.rake' @@ -34,7 +43,7 @@ depfiles = MRuby.targets['host'].bins.map do |bin| FileUtils.rm t.name, :force => true FileUtils.cp t.prerequisites.first, t.name end - + install_path end |
