make-sure-hooks-synced to ensure that hooks are committed consistently to checker. Updates to README.md to document standard directories Adding Resources as standard files for all repos to consume.
5 lines
189 B
Plaintext
Executable File
5 lines
189 B
Plaintext
Executable File
if [ `git ls-files -m | grep -E '^Hooks/scripts.d|^precommit-hooks/' | wc -l` != '0' ]; then
|
|
echo 'Hooks have changed and need to be added. Run `git add precommit-hooks`'
|
|
exit 1
|
|
fi
|