Files
codecov-action/install.sh
2020-12-20 16:57:08 -05:00

13 lines
193 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 ../../hook/$i
done