diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile index b5ed0a6..9dca674 100644 --- a/Makefile +++ b/Makefile @@ -13,6 +13,9 @@ build: $(PREFIX) $(PREFIX): zola build --output-dir $(PREFIX) +format: $(PREFIX) + prettier --write --parser html --print-width 200 "$(PREFIX)/**/*.html" + clean: rm -rf ./$(PREFIX) @@ -61,7 +64,7 @@ compress: $(brotli_files) $(gzip_files) $(zstd_files) install: compress -deploy: build compress +deploy: build format compress rsync --archive --delete public/ pappel.alanpearce.eu:/srv/http/alanpearce.eu -.PHONY: all clean build compress install deploy +.PHONY: all clean build format compress install deploy |