1
0
mirror of https://github.com/nlohmann/json.git synced 2025-09-01 16:21:58 +03:00

🚧 add Clang-Tidy configuration

This commit is contained in:
Niels Lohmann
2020-07-27 09:15:57 +02:00
parent 2f05f5175c
commit 84c0c76849

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)