fix(clang-tidy): make cpp-lint has proper clang-tidy check
C++ / fmt (pull_request) Successful in 8s
JS/TS / fmt & lint (pull_request) Successful in 13s
Python / fmt & lint (pull_request) Successful in 33s
C++ / build & lint (pull_request) Failing after 2m42s
Python / test & nuitka build (pull_request) Failing after 1m50s
Rust / build, clippy & fmt (pull_request) Failing after 5m5s
C++ / fmt (pull_request) Successful in 8s
JS/TS / fmt & lint (pull_request) Successful in 13s
Python / fmt & lint (pull_request) Successful in 33s
C++ / build & lint (pull_request) Failing after 2m42s
Python / test & nuitka build (pull_request) Failing after 1m50s
Rust / build, clippy & fmt (pull_request) Failing after 5m5s
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