mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-06-02 02:40:07 +02:00
tests: Enable shellcheck for bash completion scripts
These were accidentally left off the list of files checked before, because they don’t have `.sh` suffixes. Signed-off-by: Philip Withnall <pwithnall@gnome.org>
This commit is contained in:
parent
827bca3212
commit
e577f16d01
@ -16,7 +16,7 @@ export TEST_REQUIRES_TOOLS="git shellcheck"
|
|||||||
run_lint () {
|
run_lint () {
|
||||||
# Ignoring third-party directories that we don't want to parse
|
# Ignoring third-party directories that we don't want to parse
|
||||||
# shellcheck disable=SC2046
|
# shellcheck disable=SC2046
|
||||||
shellcheck $(git ls-files '*.sh' | grep -Ev "glib/libcharset|glib/dirent")
|
shellcheck $(git ls-files '*.sh' 'gio/completion/' | grep -Ev "glib/libcharset|glib/dirent|gitignore")
|
||||||
}
|
}
|
||||||
|
|
||||||
# shellcheck source=tests/lint-common.sh
|
# shellcheck source=tests/lint-common.sh
|
||||||
|
Loading…
x
Reference in New Issue
Block a user