Ignore to build C extension for test files of bundled gems

This commit is contained in:
Hiroshi SHIBATA 2025-03-28 10:12:11 +09:00
parent e652af1881
commit 589713bcb5
No known key found for this signature in database
GPG Key ID: F9CF13417264FAC2

View File

@ -33,7 +33,9 @@ gems:
% exts.each do |t, (o, dirs)|
% dirs.each do |d|
% next if Dir.glob("#{srcdir}/#{d}/**/extconf.rb").empty?
% extconf = Dir.glob("#{srcdir}/#{d}/**/extconf.rb")
% next if extconf.empty?
% next if extconf.any?{|f| f.include?(".bundle/gems") && f.include?("test") }
<%=t%>: <%=d%>/exts.mk
<%=d%>/exts.mk: FORCE
$(Q)$(MINIRUBY) $(srcdir)/ext/extmk.rb --make='$(MAKE)' \