aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index eff7dca..23f8f82 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-.PHONY: clean build build-release build-source test run check
+.PHONY: clean build build-release dev-setup build-dev install build-source test run check fmt
all: build-dev
@@ -39,8 +39,10 @@ debug:
DEBUG=1 make build-dev
gdb ./build/null-browser
-check:
+fmt:
clang-format -i ./src/**/*.{hpp,cpp}
+
+check: fmt
clang-tidy --config-file=.clang-tidy ./src/**/*.{hpp,cpp}
# appimage: