;dev:checkembeddedfiles: fix mac binaries workflow
This commit is contained in:
parent
03e0bb9c57
commit
cc265d906e
@ -6,10 +6,8 @@ rg="rg --sort=path"
|
|||||||
$rg --version >/dev/null
|
$rg --version >/dev/null
|
||||||
|
|
||||||
echo "Checking embedded file declarations:"
|
echo "Checking embedded file declarations:"
|
||||||
# shellcheck disable=SC2016
|
|
||||||
mapfile -t embeddedfiles < <($rg -I '^ +\$\(embedFileRelative "([^"]+)"' -or '$1')
|
|
||||||
status=0
|
status=0
|
||||||
for f in "${embeddedfiles[@]}"; do
|
for f in $($rg -I '^ +\$\(embedFileRelative "([^"]+)"' -or '$1'); do
|
||||||
if output=$($rg -l "$f" -- */package.yaml); then
|
if output=$($rg -l "$f" -- */package.yaml); then
|
||||||
printf '%-40s\tdeclared in %s\n' "$f" "$output"
|
printf '%-40s\tdeclared in %s\n' "$f" "$output"
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user