aboutsummaryrefslogtreecommitdiff
path: root/lint/games.sh
blob: 184728b61981b96c3a571ebe2fcd2a2c59255471 (plain)
1
2
3
4
5
6
7
# POSIX shell
set --
for game in games/*.sh ; do
    set -- "$@" "${game%.sh}"
done
shellcheck -e SC1090 -- "$@" || exit
printf 'POSIX shell games linted successfully.\n'