mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
ci: ShellCheck preprocessed scripts separately
Change the shellcheck job so that we configure the build and check the preprocessed versions of the scripts, not the bare ones, which might not be syntactically valid yet.
This commit is contained in:
parent
99cf172bc7
commit
43db03909b
4 changed files with 12 additions and 1 deletions
|
|
@ -11,6 +11,7 @@ FILENAME="$1"
|
|||
# Add \ingroup commands for the file, for each \addgroup in it
|
||||
BASEFILE=$(echo "$FILENAME" | sed -e 's@.*src/pipewire/@pipewire/@; s@.*spa/include/spa/@spa/@; s@.*src/test/@test/@;')
|
||||
|
||||
# shellcheck disable=SC2028 # \file is not an escape sequence
|
||||
echo "/** \file"
|
||||
echo "\`$BASEFILE\`"
|
||||
sed -n -e '/.*\\addtogroup [a-zA-Z0-9_].*/ { s/.*addtogroup /\\ingroup /; p; }' < "$FILENAME" | sort | uniq
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue