Files
test-results-action/install.sh
2024-02-22 15:04:22 -05:00

13 lines
194 B
Bash
Executable File

#!/usr/bin/env bash
if ! [ -e .git ]; then
echo "Please run this from repo root directory"
exit 1
fi
cd .git/hooks
for i in pre-commit; do
rm -fv $i
ln -sv ../../hooks/$i
done