chore: Add pre-push hooks

This commit is contained in:
Loic Coenen
2026-05-09 11:36:38 +00:00
parent 60a8bdcfe8
commit 5532b8cd50

View File

@@ -20,3 +20,10 @@ test: integration
.PHONY: clean integration test .PHONY: clean integration test
clean: clean:
rm -f looper integration_test src/*.o rm -f looper integration_test src/*.o
check:
cppcheck --enable=all --error-exitcode=1 src/*.c
# Optional: Format code using clang-format
format:
clang-format -i src/*.c