Files
codecov-action/install.sh
2020-12-20 17:03:30 -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