summaryrefslogtreecommitdiffhomepage
path: root/Rakefile
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2017-07-29 07:15:10 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2017-07-29 07:15:10 +0900
commitc8fdab8725d58375ccdbd9816e48fdb021a199d4 (patch)
tree95546b572463e02463fc765dd5fccedc9a30a066 /Rakefile
parentb290e98f3b4e8623fd8932c9996d0481f56f766b (diff)
parente821c25d387b12805d3f3d773380b44e32c0d1f7 (diff)
downloadmruby-c8fdab8725d58375ccdbd9816e48fdb021a199d4.tar.gz
mruby-c8fdab8725d58375ccdbd9816e48fdb021a199d4.zip
Merge branch 'udzura-move-task-class-definitions'
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/Rakefile b/Rakefile
index dd14c8b02..2f6fa056f 100644
--- a/Rakefile
+++ b/Rakefile
@@ -5,10 +5,12 @@ MRUBY_ROOT = File.dirname(File.expand_path(__FILE__))
MRUBY_BUILD_HOST_IS_CYGWIN = RUBY_PLATFORM.include?('cygwin')
MRUBY_BUILD_HOST_IS_OPENBSD = RUBY_PLATFORM.include?('openbsd')
+$LOAD_PATH << File.join(MRUBY_ROOT, "lib")
+
# load build systems
-load "#{MRUBY_ROOT}/tasks/ruby_ext.rake"
-load "#{MRUBY_ROOT}/tasks/mruby_build.rake"
-load "#{MRUBY_ROOT}/tasks/mrbgem_spec.rake"
+require "mruby-core-ext"
+require "mruby/build"
+require "mruby/gem"
# load configuration file
MRUBY_CONFIG = (ENV['MRUBY_CONFIG'] && ENV['MRUBY_CONFIG'] != '') ? ENV['MRUBY_CONFIG'] : "#{MRUBY_ROOT}/build_config.rb"