diff options
author | Roger Gonzalez <roger@rogs.me> | 2023-01-11 08:52:42 -0300 |
---|---|---|
committer | Roger Gonzalez <roger@rogs.me> | 2023-01-11 08:52:42 -0300 |
commit | 0bbff7b4dd95f395165617cfd9c2811e09e07771 (patch) | |
tree | cff20783f7a3f7313820a454f8afd374c5511a4f /pre-commit | |
parent | 8bae3c31c4423cf8435930f075d7483e81aa7008 (diff) |
Deleted pre-commit
Diffstat (limited to 'pre-commit')
-rwxr-xr-x | pre-commit | 6 |
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' {} \; |