source: EcnlProtoTool/trunk/mrbgems/mruby-require/run_test.rb@ 331

Last change on this file since 331 was 331, checked in by coas-nagasima, 6 years ago

prototoolに関連するプロジェクトをnewlibからmuslを使うよう変更・更新
ntshellをnewlibの下位の実装から、muslのsyscallの実装に変更・更新
以下のOSSをアップデート
・mruby-1.3.0
・musl-1.1.18
・onigmo-6.1.3
・tcc-0.9.27
以下のOSSを追加
・openssl-1.1.0e
・curl-7.57.0
・zlib-1.2.11
以下のmrbgemsを追加
・iij/mruby-digest
・iij/mruby-env
・iij/mruby-errno
・iij/mruby-iijson
・iij/mruby-ipaddr
・iij/mruby-mock
・iij/mruby-require
・iij/mruby-tls-openssl

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/x-ruby
File size: 731 bytes
Line 
1#!/usr/bin/env ruby
2#
3# mrbgems test runner
4#
5
6if __FILE__ == $0
7 repository, dir = 'https://github.com/mruby/mruby.git', 'tmp/mruby'
8
9 build_args = ARGV
10
11 Dir.mkdir 'tmp' unless File.exist?('tmp')
12 unless File.exist?(dir)
13 system "git clone #{repository} #{dir}"
14 end
15
16 exit system(%Q[cd #{dir}; MRUBY_CONFIG=#{File.expand_path __FILE__} ruby minirake #{build_args.join(' ')}])
17end
18
19MRuby::Build.new do |conf|
20 toolchain :gcc
21 conf.gembox 'default'
22
23 conf.gem :core => 'mruby-eval'
24 conf.gem :git => 'https://github.com/iij/mruby-io.git'
25 conf.gem :git => 'https://github.com/iij/mruby-dir.git'
26 conf.gem :git => 'https://github.com/iij/mruby-tempfile.git'
27
28 conf.gem File.expand_path(File.dirname(__FILE__))
29end
Note: See TracBrowser for help on using the repository browser.