ruby-changes:56442
From: Nobuyoshi <ko1@a...>
Date: Sun, 14 Jul 2019 03:04:53 +0900 (JST)
Subject: [ruby-changes:56442] Nobuyoshi Nakada: ac2866005b (master): Add empty depend file if extconf.rb only exists
https://git.ruby-lang.org/ruby.git/commit/?id=ac2866005b From ac2866005b96baf986072f86ecd3dfd887f2bda3 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Sun, 14 Jul 2019 01:41:55 +0900 Subject: Add empty depend file if extconf.rb only exists diff --git a/.travis.yml b/.travis.yml index c4ee4d7..03f1107 100644 --- a/.travis.yml +++ b/.travis.yml @@ -345,6 +345,17 @@ env: https://github.com/ruby/ruby/blob/trunk/.travis.yml#L345 before_install: install: before_script: + - |- + ruby -e 'new = [] + Dir.glob("ext/**/extconf.rb") {|ex| + unless File.exist?(dep = File.dirname(ex)+"/depend") + puts "Adding "+dep + File.copy_stream("template/depend.tmpl", dep) + new << dep + end + } + exec("git", "add", *new) unless new.empty?' + - git diff --cached - "> config.status" - "> .rbconfig.time" - sed -f tool/prereq.status template/Makefile.in common.mk > Makefile -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/