зеркало из https://github.com/github/ruby.git
* spec/default.mspec (config): added.
* spec/default.mspec (target): replaced the built ruby to runruby.rb. Improved $LOAD_PATH on running specs. * spec/default.mspec (flags): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
94f421c9c0
Коммит
7a4905583d
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,13 @@
|
|||
Sun Aug 31 17:28:25 2008 Yuki Sonoda (Yugui) <yugui@yugui.jp>
|
||||
|
||||
* spec/default.mspec (config): added.
|
||||
|
||||
* spec/default.mspec (target): replaced the built ruby
|
||||
to runruby.rb.
|
||||
Improved $LOAD_PATH on running specs.
|
||||
|
||||
* spec/default.mspec (flags): ditto.
|
||||
|
||||
Sun Aug 31 17:16:07 2008 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* transcode.c (make_econv_exception): rename instance variable names
|
||||
|
|
|
@ -8,6 +8,15 @@ class MSpecScript
|
|||
]
|
||||
|
||||
srcdir = File.expand_path(File.join(File.dirname(__FILE__), '..'))
|
||||
config = proc{|name| `#{srcdir}/miniruby -I#{srcdir} -rrbconfig -e 'print Config::CONFIG["#{name}"]'`}
|
||||
|
||||
# The default implementation to run the specs.
|
||||
set :target, File.join(srcdir, `#{srcdir}/miniruby -I#{srcdir} -rrbconfig -e 'print Config::CONFIG["RUBY_INSTALL_NAME"]'`)
|
||||
set :target, File.join(srcdir, "miniruby#{config['exeext']}")
|
||||
set :flags, %W[
|
||||
-I#{srcdir}/lib
|
||||
-I#{srcdir}/#{config['EXTOUT']}/common
|
||||
-I#{srcdir}/-
|
||||
-r#{srcdir}/ext/purelib.rb
|
||||
#{srcdir}/runruby.rb --extout=#{config['EXTOUT']}
|
||||
]
|
||||
end
|
||||
|
|
Загрузка…
Ссылка в новой задаче