aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorBradley Taunt <bt@btxx.org>2025-07-14 12:41:44 -0400
committerBradley Taunt <bt@btxx.org>2025-07-14 12:41:44 -0400
commit1156210a081f36ce0e6959204c70a712432260d9 (patch)
tree03445ca2bc690d6e4b0bfb930874413e97fcba77
parent55250557b163b0d71b7a4237b86529e07df6438f (diff)
Include gzip function in Makefile
-rw-r--r--Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 2207bdc..d21314e 100644
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,8 @@
build:
rm -rf build && mkdir build
ruby wruby.rb
-
+ find build -type f \( -name "*.html" -o -name "*.css" \) -exec gzip -k -f {} \;
clean:
rm -rf build/*
.PHONY: build clean
-
- find . -type f \( -name "*.html" -o -name "*.css" -o -name "*.jpg" -o -name "*.png" -o -name "*.webp" \) -exec gzip -k -f {} \;