mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Merge branch 'udzura-move-task-class-definitions'
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
load "#{MRUBY_ROOT}/tasks/mruby_build_gem.rake"
|
||||
load "#{MRUBY_ROOT}/tasks/mruby_build_commands.rake"
|
||||
require "mruby/build/load_gems"
|
||||
require "mruby/build/command"
|
||||
|
||||
module MRuby
|
||||
class << self
|
||||
@@ -241,7 +241,7 @@ EOS
|
||||
else
|
||||
compiler.defines += %w(DISABLE_GEMS)
|
||||
end
|
||||
compiler.define_rules build_dir, File.expand_path(File.join(File.dirname(__FILE__), '..'))
|
||||
compiler.define_rules build_dir, File.expand_path(File.join(File.dirname(__FILE__), '..', '..'))
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user