🚧 add Clang-Tidy configuration

This commit is contained in:
Niels Lohmann 2020-07-27 09:15:57 +02:00
parent 2f05f5175c
commit 84c0c76849
No known key found for this signature in database
GPG key ID: 7F3CEA63AE251B69

View file

@ -527,6 +527,10 @@ pretty:
--formatted \
$(SRCS) $(AMALGAMATED_FILE) test/src/*.cpp test/src/*.hpp benchmarks/src/benchmarks.cpp doc/examples/*.cpp
# call the Clang-Format on all source files
pretty_format:
for FILE in $(SRCS) $(AMALGAMATED_FILE) test/src/*.cpp test/src/*.hpp benchmarks/src/benchmarks.cpp doc/examples/*.cpp; do echo $$FILE; clang-format -i $$FILE; done
# create single header file
amalgamate: $(AMALGAMATED_FILE)