;tools: checkembeddedfiles: detect more embedFile* calls

This commit is contained in:
Simon Michael 2025-06-03 11:19:55 -10:00
parent fdb0caa9c1
commit 1c63d20c6f

View File

@ -7,7 +7,7 @@ $rg --version >/dev/null
echo "Checking embedded file declarations:"
status=0
for f in $($rg -I '\$\(embedFileRelative "([^"]+)"' -or '$1'); do
for f in $($rg -I '\$\(embedFile[^ ]* "([^"]+)"' -or '$1'); do
if output=$($rg -l "$f" -- */package.yaml); then
printf '%-40s\tdeclared in %s\n' "$f" "$output"
else