Files
dep/.githooks/pre-commit
2025-07-02 04:15:58 -04:00

12 lines
173 B
Bash
Executable File

#!/bin/sh
echo "Running tests before commit..."
# run tests
make test || {
echo "Tests failed. Commit aborted."
exit 1
}
echo "Tests passed. Proceeding with commit."