From 0174ae3ae0ab2af3a1d40e03925917a08b886179 Mon Sep 17 00:00:00 2001 From: Bob Badour Date: Tue, 23 Nov 2021 12:12:06 -0800 Subject: [PATCH] Account for "validations:" Change-Id: I72b188c8cac54aa59d31e91b2a03b1329384e686 --- scripts/reverse-deps.sh | 3 +++ scripts/transitive-deps.sh | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/reverse-deps.sh b/scripts/reverse-deps.sh index 02b7dcb73..410f5c0b7 100755 --- a/scripts/reverse-deps.sh +++ b/scripts/reverse-deps.sh @@ -67,6 +67,9 @@ function getDeps() { $0 ~ /^\S\S*:$/ { inoutput = 0 } + $1 == "validations:" { + inoutput = 0 + } inoutput != 0 { print gensub(/^\s*/, "", "g")" "depth } diff --git a/scripts/transitive-deps.sh b/scripts/transitive-deps.sh index ba36ba4bf..cf9fb94ef 100755 --- a/scripts/transitive-deps.sh +++ b/scripts/transitive-deps.sh @@ -100,7 +100,7 @@ function getDeps() { currFileName = "" currExt = "" } - $1 == "outputs:" { + $1 == "outputs:" || $1 == "validations:" { ininput = 0 } ininput == 0 && $0 ~ /^\S\S*:$/ {