1
0
mirror of https://github.com/nlohmann/json synced 2024-11-28 14:41:05 +00:00

🚧 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 \ --formatted \
$(SRCS) $(AMALGAMATED_FILE) test/src/*.cpp test/src/*.hpp benchmarks/src/benchmarks.cpp doc/examples/*.cpp $(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 # create single header file
amalgamate: $(AMALGAMATED_FILE) amalgamate: $(AMALGAMATED_FILE)