From 7aaeab00139036816cd6e33b0455a8c7ac71c30f Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Tue, 12 Mar 2019 06:03:18 +0000 Subject: [PATCH] etc/git/hooks/pre-commit --- etc/git/hooks/pre-commit | 2 ++ 1 file changed, 2 insertions(+) diff --git a/etc/git/hooks/pre-commit b/etc/git/hooks/pre-commit index be83a511..a6f74760 100755 --- a/etc/git/hooks/pre-commit +++ b/etc/git/hooks/pre-commit @@ -23,6 +23,8 @@ if which minify > /dev/null; then min="$(echo "$file" | sed -E 's/\.([^\.]+)$/.min.\1/')" [ -w "$min" ] || continue + echo " Minify $file" + if [ "$MINIFY" = "ext" ]; then #echo "minify --$ext < "$file" > "$min.tmp"" minify --$ext < "$file" > "$min.tmp" -- 2.47.3