]> Nishi Git Mirror - aya.git/commitdiff
Fix example posthook
authorJames Mills <1290234+prologic@users.noreply.github.com>
Thu, 30 Mar 2023 12:52:44 +0000 (22:52 +1000)
committerJames Mills <1290234+prologic@users.noreply.github.com>
Thu, 30 Mar 2023 12:52:44 +0000 (22:52 +1000)
contrib/hooks/posthook

index fd56793183f5e10ecef511c0f54fbd0fdf4c6eed..b61aa3fe0bff5e47609929a464bc780fea324f61 100755 (executable)
@@ -9,8 +9,6 @@ minify_assets() {
   find "$p" -type f -name "*.$t" | while read -r file; do
     name="${file#"$p"}"
     name="${name#"/"}"
-    #name="${name%.*}"
-    #minify -o "${p}/${name}.min.$t" "$file"
     minify -o "${p}/${name}" "$file"
   done
 }