Skip to content
Snippets Groups Projects

F update proto

Merged Timm Fitschen requested to merge f-update-proto into dev
2 files
+ 5
5
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 4
4
@@ -22,11 +22,11 @@
# This Makefile is a wrapper for several other scripts.
CLANG-FORMAT = clang-format-11
CLANG-TIDY = clang-tidy-11
CLANG_FORMAT ?= clang-format-11
CLANG_TIDY ?= clang-tidy-11
CLANG_TIDY_CHECKS = "--checks=*,-fuchsia-*,-llvmlibc-*,-cert-err58-cpp,-cppcoreguidelines-avoid-non-const-global-variables,-cppcoreguidelines-owning-memory,-modernize-use-trailing-return-type,-google-readability-avoid-underscore-in-googletest-name,-cppcoreguidelines-avoid-magic-numbers,-readability-magic-numbers,-cppcoreguidelines-avoid-goto,-hicpp-avoid-goto,-readability-function-cognitive-complexity,-cppcoreguidelines-pro-type-vararg,-cppcoreguidelines-non-private-member-variables-in-classes,-misc-non-private-member-variables-in-classes,-cppcoreguidelines-pro-type-vararg,-cppcoreguidelines-pro-bounds-array-to-pointer-decay,-hicpp-no-array-decay"
CLANG_TIDY_CMD = $(CLANG-TIDY) \
CLANG_TIDY_CMD = $(CLANG_TIDY) \
--header-filter=caosdb/.*[^\(\.pb\.h\)]$ \
--fix \
$(CLANG_TIDY_CHECKS)
@@ -43,7 +43,7 @@ conan-install:
.PHONY: conan-install
format: conan-install
$(CLANG-FORMAT) -i --verbose \
$(CLANG_FORMAT) -i --verbose \
$$(find test/ -type f -iname "*.cpp" -o -iname "*.h" -o -iname "*.h.in")
$(CLANG_TIDY_CMD) $$(find test/ -type f -iname "*.cpp" -o -iname "*.h" -o -iname "*.h.in")
.PHONY: format
Loading