From 5adcaa5a0cba4f4bff28714882f1cf4f1bb01eff Mon Sep 17 00:00:00 2001 From: AramJonghu Date: Sun, 25 Oct 2026 01:39:13 +0200 Subject: [PATCH] fix(clang-tidy): make cpp-lint has proper clang-tidy check --- makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/makefile b/makefile index 9702f76..c264942 100644 --- a/makefile +++ b/makefile @@ -4,6 +4,7 @@ COMPILE ?= $(BUILD) && $(NINJA) INSTALL ?= $(BUILD) && $(NINJA) && sudo ninja -C build install CPPFMT ?= find . \( -name '*.cpp' -o -name '*.h' -o -name '*.hpp' \) -not -path './build/*' -exec clang-format -i --style=file {} + +CPPLINT ?= run-clang-tidy -p build -j "$$(nproc)" -source-filter="^$$(pwd)/Plugins/" -header-filter=".*Plugins/.*" -removed-arg=-mno-direct-extern-access NUITKA ?= nuitka --module --include-package=zshell cli/src/zshell/ --output-dir=cli/ @@ -46,7 +47,8 @@ compile: cpp-fmt: $(CPPFMT) -# cpp-lint needs adjustments in ci and here +cpp-lint: + $(CPPLINT) cpp-compile: $(COMPILE)