From d2e39f34515c2443dacb46ccba0769276b2af737 Mon Sep 17 00:00:00 2001 From: Loic Coenen Date: Sat, 9 May 2026 12:38:35 +0000 Subject: [PATCH] chore: add install-hooks target and update cppcheck library flag --- makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/makefile b/makefile index 4bb2808..7c28436 100644 --- a/makefile +++ b/makefile @@ -22,8 +22,11 @@ clean: rm -f looper integration_test src/*.o check: - cppcheck --enable=all --error-exitcode=1 src/*.c + cppcheck --enable=all --error-exitcode=1 src/*.c --library=posix . # Optional: Format code using clang-format format: clang-format -i src/*.c + +install-hooks: + git config core.hooksPath .githooks