summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 3abc4f2..65fa99e 100644
--- a/Makefile
+++ b/Makefile
@@ -24,7 +24,10 @@ install:
uninstall:
xargs rm < ./build/install_manifest.txt
-format:
- find src -name "*.cpp" -o -name "*.hpp" | xargs clang-format -i
+clang-format:
+ cmake --build ./build --target clang-format
+
+clang-tidy:
+ cmake --build ./build --target clang-tidy
.PHONY: stub release debug clean all install uninstall format