summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Gonzalez <roger@rogs.me>2023-01-11 08:52:42 -0300
committerRoger Gonzalez <roger@rogs.me>2023-01-11 08:52:42 -0300
commit0bbff7b4dd95f395165617cfd9c2811e09e07771 (patch)
treecff20783f7a3f7313820a454f8afd374c5511a4f
parent8bae3c31c4423cf8435930f075d7483e81aa7008 (diff)
Deleted pre-commit
-rwxr-xr-xpre-commit6
1 files changed, 0 insertions, 6 deletions
diff --git a/pre-commit b/pre-commit
deleted file mode 100755
index a6c57d1..0000000
--- a/pre-commit
+++ /dev/null
@@ -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' {} \;