Moving these hooks to AniNIX/Uniglot

This commit is contained in:
2025-10-09 20:37:39 -05:00
parent 40355ea6e0
commit 333a987dac
2 changed files with 0 additions and 13 deletions

View File

@@ -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

View File

@@ -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