From 990d2e0074a2f91f1c0db59fcd7aa6e929b89eeb Mon Sep 17 00:00:00 2001 From: Andrew Gaul Date: Mon, 21 Oct 2024 21:20:56 -0700 Subject: [PATCH] Add top-level clang-tidy make target --- .github/workflows/ci.yml | 3 +-- Makefile.am | 4 ++++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 08e5ffb..fae0cad 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -297,8 +297,7 @@ jobs: - name: clang-tidy run: | - make -C src/ clang-tidy - make -C test/ clang-tidy + make clang-tidy # diff --git a/Makefile.am b/Makefile.am index 508c9aa..8de11d9 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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 \