Account for "validations:"

Change-Id: I72b188c8cac54aa59d31e91b2a03b1329384e686
This commit is contained in:
Bob Badour 2021-11-23 12:12:06 -08:00
parent 1469ff6ece
commit 0174ae3ae0
2 changed files with 4 additions and 1 deletions

View file

@ -67,6 +67,9 @@ function getDeps() {
$0 ~ /^\S\S*:$/ {
inoutput = 0
}
$1 == "validations:" {
inoutput = 0
}
inoutput != 0 {
print gensub(/^\s*/, "", "g")" "depth
}

View file

@ -100,7 +100,7 @@ function getDeps() {
currFileName = ""
currExt = ""
}
$1 == "outputs:" {
$1 == "outputs:" || $1 == "validations:" {
ininput = 0
}
ininput == 0 && $0 ~ /^\S\S*:$/ {