ruby-changes:58822
From: Nobuyoshi <ko1@a...>
Date: Mon, 18 Nov 2019 18:46:15 +0900 (JST)
Subject: [ruby-changes:58822] 227220b25a (master): Skip dependencies on timestamp files
https://git.ruby-lang.org/ruby.git/commit/?id=227220b25a From 227220b25aad9841eb979c18a0251b71de824e88 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Sat, 10 Aug 2019 00:02:17 +0900 Subject: Skip dependencies on timestamp files diff --git a/tool/update-deps b/tool/update-deps index 4aaf812..45cf5b9 100755 --- a/tool/update-deps +++ b/tool/update-deps @@ -300,6 +300,7 @@ def read_make_deps(cwd) https://github.com/ruby/ruby/blob/trunk/tool/update-deps#L300 target = rule_target deps = rule_sources deps = deps.scan(%r{[/0-9a-zA-Z._-]+}) + deps.delete_if {|dep| /\.time\z/ =~ dep} # skip timestamp next if /\.o\z/ !~ target.to_s next if /\A\./ =~ target.to_s # skip rules such as ".c.o" #p [curdir, target, deps] -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/