diff --git a/precommit-hooks/find-data-files b/precommit-hooks/find-data-files deleted file mode 100644 index 638ebec..0000000 --- a/precommit-hooks/find-data-files +++ /dev/null @@ -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 diff --git a/precommit-hooks/make-sure-hooks-synced b/precommit-hooks/make-sure-hooks-synced deleted file mode 100644 index f11f8fe..0000000 --- a/precommit-hooks/make-sure-hooks-synced +++ /dev/null @@ -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