Skip to content

Commit

Permalink
🚧 add Clang-Tidy configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
nlohmann committed Jul 27, 2020
1 parent 2f05f51 commit 84c0c76
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 84c0c76

Please sign in to comment.