fix(clang-tidy): make cpp-lint has proper clang-tidy check
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user