facf0c92e0
Red Bear OS is a full fork. All sources must be available from git clone with zero network access. Removed gitignore rules that excluded fetched source trees under recipes/*/source/, local/recipes/kde/*/source/, local/recipes/qt/*/source/, and vendor source trees. Build artifacts (target/, build/, source.tar, *.o, *.so) remain excluded. 127291 files added — kernel, relibc, base, bootloader, pkgar, all KDE/Qt frameworks, mesa, wayland, DRM drivers, and every other recipe source.
24 lines
613 B
Bash
Executable File
24 lines
613 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Copyright 2020 Frederic Martinsons
|
|
# Copyright 2024 Collabora Ltd.
|
|
# SPDX-License-Identifier: LGPL-2.1-or-later
|
|
|
|
set -eu
|
|
|
|
if [ -z "${G_TEST_SRCDIR-}" ]; then
|
|
me="$(readlink -f "$0")"
|
|
G_TEST_SRCDIR="${me%/*}"
|
|
fi
|
|
|
|
export TEST_NAME=shellcheck
|
|
export TEST_REQUIRES_TOOLS="git shellcheck"
|
|
|
|
run_lint () {
|
|
# Ignoring third-party directories that we don't want to parse
|
|
# shellcheck disable=SC2046
|
|
shellcheck $(git ls-files '*.sh' 'gio/completion/' | grep -Ev "glib/libcharset|glib/dirent|gitignore")
|
|
}
|
|
|
|
# shellcheck source=tests/lint-common.sh
|
|
. "$G_TEST_SRCDIR/lint-common.sh"
|