mirror of
https://github.com/nlohmann/json.git
synced 2024-11-23 22:19:02 +08:00
🚧 add Clang-Tidy configuration
This commit is contained in:
parent
2f05f5175c
commit
84c0c76849
4
Makefile
4
Makefile
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user