summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2020-12-26 11:02:17 +0100
committerVolpeon <git@volpeon.ink>2020-12-26 11:02:17 +0100
commita2d91f9f6812ae5ee29d00f7132e9ad983e3141b (patch)
tree05b9307421a0f2ce5b69ac40dbca8d08ab9d1d03 /Makefile
parentGenerate precompressed files, use variables for some nav-related values (diff)
downloadvolpeon.ink-a2d91f9f6812ae5ee29d00f7132e9ad983e3141b.tar.gz
volpeon.ink-a2d91f9f6812ae5ee29d00f7132e9ad983e3141b.tar.bz2
volpeon.ink-a2d91f9f6812ae5ee29d00f7132e9ad983e3141b.zip
Improved build script output
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index caf9939..b8ebbbe 100644
--- a/Makefile
+++ b/Makefile
@@ -16,11 +16,11 @@ build_content: clean
16build_only: build_fonts build_sass build_content 16build_only: build_fonts build_sass build_content
17 17
18compress_gz: build_only 18compress_gz: build_only
19 @echo "[COMPRESS] Gzip" 19 @echo -e "\033[0;32m[COMPRESS]\033[0m Gzip"
20 @pigz -R -k -9 -- `find output -type f -iregex '.*\\.\\(css\\|js\\|json\\|html\\|xml\\|txt\\|svg\\|ico\\)'` 20 @pigz -R -k -9 -- `find output -type f -iregex '.*\\.\\(css\\|js\\|json\\|html\\|xml\\|txt\\|svg\\|ico\\)'`
21 21
22compress_br: build_only 22compress_br: build_only
23 @echo "[COMPRESS] Brotli" 23 @echo -e "\033[0;32m[COMPRESS]\033[0m Brotli"
24 @brotli -k -- `find output -type f -iregex '.*\\.\\(css\\|js\\|json\\|html\\|xml\\|txt\\|svg\\|ico\\|woff\\)'` 24 @brotli -k -- `find output -type f -iregex '.*\\.\\(css\\|js\\|json\\|html\\|xml\\|txt\\|svg\\|ico\\|woff\\)'`
25 25
26build: compress_gz compress_br 26build: compress_gz compress_br
@@ -45,6 +45,7 @@ serve_only: build_only
45serve: watch serve_only 45serve: watch serve_only
46 46
47deploy: build 47deploy: build
48 @echo -e "\033[0;32m[DEPLOY ]\033[0m volpeon.ink"
48 @rsync --progress --stats -avz --delete output/ vulpes@94.130.78.123:/srv/http/volpeon.ink/ 49 @rsync --progress --stats -avz --delete output/ vulpes@94.130.78.123:/srv/http/volpeon.ink/
49 50
50.PHONY: all clean build watch serve deploy 51.PHONY: all clean build watch serve deploy