Moving these hooks to AniNIX/Uniglot
This commit is contained in:
@@ -1,9 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
result="$(find roles/*/{files,templates} -type f -exec file {} \; | grep -Ev ASCII\ text\||JSON|empty\|Unicode\ text | grep -v motd.txt.j2)"
|
|
||||||
if [ -n "$result" ]; then
|
|
||||||
echo "These files need to be evaluated -- generally, don't commit data files to Git."
|
|
||||||
echo "$result"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
exit 0
|
|
@@ -1,4 +0,0 @@
|
|||||||
if [ `git ls-files -m | grep precommit-hooks/ | wc -l` != '0' ]; then
|
|
||||||
echo 'Hooks have changed and need to be added. Run `git add precommit-hooks`'
|
|
||||||
exit 1
|
|
||||||
fi
|
|
Reference in New Issue
Block a user