1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* ext/-test-/auto_ext.rb: fixed a heedless bug introduced at r55198.

this change will make RubyCI green.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2016-05-29 15:10:44 +00:00
parent 267d34c6e8
commit 78c96608e0
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Mon May 30 00:09:37 2016 NAKAMURA Usaku <usa@ruby-lang.org>
* ext/-test-/auto_ext.rb: fixed a heedless bug introduced at r55198.
this change will make RubyCI green.
Sun May 29 22:58:19 2016 NARUSE, Yui <naruse@ruby-lang.org>
* regexec.c (ONIGENC_IS_MBC_ASCII_WORD): redefine optimized one.

View file

@ -1,5 +1,5 @@
# frozen_string_literal: false
def auto_ext(feat = $0[%r[/ext/-test-/(.*)/extconf.rb\z], 1], inc: false)
def auto_ext(feat = $0[%r[/ext/(-test-/.*)/extconf.rb\z], 1], inc: false)
$INCFLAGS << " -I$(topdir) -I$(top_srcdir)" if inc
$srcs = Dir[File.join($srcdir, "*.{#{SRC_EXT.join(%q{,})}}")]
inits = $srcs.map {|s| File.basename(s, ".*")}