Updating datafile limit to 250K; adding .wiki-repo touchfile to bypass compile and package checks

This commit is contained in:
2026-01-02 16:12:20 -06:00
parent e17bb87f13
commit 85fdb67dc3
3 changed files with 10 additions and 3 deletions

View File

@@ -8,7 +8,13 @@
# To enable this hook, rename this file to "pre-commit".
# Run all our checking scripts.
for script in $(find `dirname "$0"`/scripts.d -type f); do
#
scriptlist="$(find `dirname "$0"`/scripts.d -type f)"
if [ -f .wiki-repo ]; then
scriptlist="$(echo "$scriptlist" | grep -vE 'Makefile|PKGBUILD|pytest')"
fi
for script in $scriptlist; do
echo "Running ${script}"
"$script"
if [ $? -ne 0 ]; then

View File

@@ -19,7 +19,7 @@ for file in `git ls-files | xargs -d '\n' -n 1 file | grep -Ev 'ASCII text|JSON|
continue
fi
if [ "$(du -k "${filename}" | awk '{ print $1; }')" -gt 10 ]; then
if [ "$(du -k "${filename}" | awk '{ print $1; }')" -gt 250 ]; then
echo "$file"
result=1
fi