summaryrefslogtreecommitdiffhomepage
path: root/Rakefile
diff options
context:
space:
mode:
authorYukihiro Matz Matsumoto <[email protected]>2013-01-30 07:33:35 +0900
committerYukihiro Matz Matsumoto <[email protected]>2013-01-30 07:33:35 +0900
commit24679c6dd64a09a18d9576b4d87a11b3fd223268 (patch)
tree40d0bbd0fe65191b90a4f8b021d012bb2f5643a7 /Rakefile
parent78b362f8dd1713895596a241a35be4299d4f84a8 (diff)
parent6440f108bde035ec4c738f261062fe281b77053e (diff)
downloadmruby-24679c6dd64a09a18d9576b4d87a11b3fd223268.tar.gz
mruby-24679c6dd64a09a18d9576b4d87a11b3fd223268.zip
resolve conflict
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile15
1 files changed, 12 insertions, 3 deletions
diff --git a/Rakefile b/Rakefile
index 6a04ef87c..ac2d43ae5 100644
--- a/Rakefile
+++ b/Rakefile
@@ -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