From a2d91f9f6812ae5ee29d00f7132e9ad983e3141b Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sat, 26 Dec 2020 11:02:17 +0100 Subject: Improved build script output --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index caf9939..b8ebbbe 100644 --- a/Makefile +++ b/Makefile @@ -16,11 +16,11 @@ build_content: clean build_only: build_fonts build_sass build_content compress_gz: build_only - @echo "[COMPRESS] Gzip" + @echo -e "\033[0;32m[COMPRESS]\033[0m Gzip" @pigz -R -k -9 -- `find output -type f -iregex '.*\\.\\(css\\|js\\|json\\|html\\|xml\\|txt\\|svg\\|ico\\)'` compress_br: build_only - @echo "[COMPRESS] Brotli" + @echo -e "\033[0;32m[COMPRESS]\033[0m Brotli" @brotli -k -- `find output -type f -iregex '.*\\.\\(css\\|js\\|json\\|html\\|xml\\|txt\\|svg\\|ico\\|woff\\)'` build: compress_gz compress_br @@ -45,6 +45,7 @@ serve_only: build_only serve: watch serve_only deploy: build + @echo -e "\033[0;32m[DEPLOY ]\033[0m volpeon.ink" @rsync --progress --stats -avz --delete output/ vulpes@94.130.78.123:/srv/http/volpeon.ink/ .PHONY: all clean build watch serve deploy -- cgit v1.2.3-70-g09d2