;tools: checkembeddedfiles: detect more embedFile* calls
This commit is contained in:
parent
fdb0caa9c1
commit
1c63d20c6f
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user