From 84c0c768490d59d211c3f347a2beda35e9a58ac7 Mon Sep 17 00:00:00 2001
From: Niels Lohmann <mail@nlohmann.me>
Date: Mon, 27 Jul 2020 09:15:57 +0200
Subject: [PATCH] :construction: add Clang-Tidy configuration

---
 Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Makefile b/Makefile
index 41387d06..98fa365a 100644
--- a/Makefile
+++ b/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)