eden/tools/shellcheck.sh
crueter 6599c1afbe
All checks were successful
eden-license / license-header (pull_request) Successful in 25s
[tools] docs
Signed-off-by: crueter <crueter@eden-emu.dev>
2025-10-04 05:40:10 -04:00

11 lines
No EOL
305 B
Bash
Executable file

#!/bin/sh -e
# SPDX-FileCopyrightText: Copyright 2025 Eden Emulator Project
# SPDX-License-Identifier: GPL-3.0-or-later
# fd is slightly faster on NVMe (the syntax sux though)
if command -v fd > /dev/null; then
fd . tools -esh -x shellcheck
else
find tools -name "*.sh" -exec shellcheck -s sh {} \;
fi