Deleted pre-commit

This commit is contained in:
Roger Gonzalez 2023-01-11 08:52:42 -03:00
parent 8bae3c31c4
commit 0bbff7b4dd
Signed by: rogs
GPG Key ID: C7ECE9C6C36EC2E6

View File

@ -1,6 +0,0 @@
#!/bin/sh
#
set -eo pipefail
find ./ -type f -name '*.png' -not -path '*/.git/*' -exec sh -c 'cwebp -lossless $1 -o "${1%.png}.webp"' _ {} \;
find . -type f -not -path '*/.git/*' \( ! -iname ".gitignore" ! -iname "pre-commit" \) -exec sed -i -e 's/\.png/\.webp/g' {} \;