From 0bbff7b4dd95f395165617cfd9c2811e09e07771 Mon Sep 17 00:00:00 2001 From: Roger Gonzalez Date: Wed, 11 Jan 2023 08:52:42 -0300 Subject: Deleted pre-commit --- pre-commit | 6 ------ 1 file changed, 6 deletions(-) delete mode 100755 pre-commit (limited to 'pre-commit') 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' {} \; -- cgit v1.2.3