chore: add install-hooks target and update cppcheck library flag

This commit is contained in:
Loic Coenen
2026-05-09 12:38:35 +00:00
committed by Loic Coenen (aider)
parent 7e9224cdc7
commit d2e39f3451

View File

@@ -22,8 +22,11 @@ clean:
rm -f looper integration_test src/*.o rm -f looper integration_test src/*.o
check: 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 # Optional: Format code using clang-format
format: format:
clang-format -i src/*.c clang-format -i src/*.c
install-hooks:
git config core.hooksPath .githooks