rules.mk: Add targets to check shell syntax #32
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "jan/feature/20260624-rules-mk-add-targets-to-check-shell-syntax"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
defs.mk: Use EXE_SH for shell scripts only
To make EXE_SH useful for automated shell syntax checking, remove all non POSIX shell / bash scripts from that variable, and place the non-shell scripts into EXE_SCRIPTS.
rules.mk: Add targets to check shell syntax
Add the target sh-syntax-check, which triggers bash syntax linting with shellcheck This commit stops short of making target all depend on it, because the fallout is impressive.