diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -16,11 +16,11 @@ build_content: clean | |||
16 | build_only: build_fonts build_sass build_content | 16 | build_only: build_fonts build_sass build_content |
17 | 17 | ||
18 | compress_gz: build_only | 18 | compress_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 | ||
22 | compress_br: build_only | 22 | compress_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 | ||
26 | build: compress_gz compress_br | 26 | build: compress_gz compress_br |
@@ -45,6 +45,7 @@ serve_only: build_only | |||
45 | serve: watch serve_only | 45 | serve: watch serve_only |
46 | 46 | ||
47 | deploy: build | 47 | deploy: 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 |