7 repository, dir = 'https://github.com/mruby/mruby.git', 'tmp/mruby'
10 Dir.mkdir 'tmp' unless File.exist?('tmp')
11 unless File.exist?(dir)
12 system "git clone #{repository} #{dir}"
15 exit system(%Q[cd #{dir}; MRUBY_CONFIG=#{File.expand_path __FILE__} ruby minirake #{build_args.join(' ')}])
18 MRuby::Build.new do |conf|
22 conf.gem :git => 'https://github.com/iij/mruby-mtest.git'
23 conf.gem :git => 'https://github.com/iij/mruby-io.git'
24 conf.gem :git => 'https://github.com/iij/mruby-pack.git'
26 conf.gem File.expand_path(File.dirname(__FILE__))