Add top-level clang-tidy make target

This commit is contained in:
Andrew Gaul 2024-10-21 21:20:56 -07:00
parent 61abf80197
commit 990d2e0074
2 changed files with 5 additions and 2 deletions

View File

@ -297,8 +297,7 @@ jobs:
- name: clang-tidy
run: |
make -C src/ clang-tidy
make -C test/ clang-tidy
make clang-tidy
#

View File

@ -31,6 +31,10 @@ release : dist ../utils/release.sh
.PHONY: cppcheck shellcheck
clang-tidy:
make -C src/ clang-tidy
make -C test/ clang-tidy
cppcheck:
cppcheck --quiet --error-exitcode=1 \
--inline-suppr \