Ignore to build C extension for test files of bundled gems
This commit is contained in:
parent
e652af1881
commit
589713bcb5
@ -33,7 +33,9 @@ gems:
|
|||||||
|
|
||||||
% exts.each do |t, (o, dirs)|
|
% exts.each do |t, (o, dirs)|
|
||||||
% dirs.each do |d|
|
% 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
|
<%=t%>: <%=d%>/exts.mk
|
||||||
<%=d%>/exts.mk: FORCE
|
<%=d%>/exts.mk: FORCE
|
||||||
$(Q)$(MINIRUBY) $(srcdir)/ext/extmk.rb --make='$(MAKE)' \
|
$(Q)$(MINIRUBY) $(srcdir)/ext/extmk.rb --make='$(MAKE)' \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user