fix(clang-tidy): make cpp-lint has proper clang-tidy check

This commit is contained in:
2026-10-25 16:01:40 +01:00
parent 5eb84285a4
commit 18c474669b
+3 -1
View File
@@ -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)