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*:$/ {