hooks/fmt-check
2024-08-23 09:55:58 +10:00

5 lines
100 B
Bash
Executable file

#!/usr/bin/env zsh
if [ ! -z $(grep "fmt-check:" "Makefile") ]; then
make fmt-check 2>/dev/null
fi