From 67f5f175e762e667c520d86b1005b71b4e7e47cb Mon Sep 17 00:00:00 2001 From: Christian Wolf Date: Thu, 27 Jul 2023 11:41:06 +0200 Subject: [PATCH] Enhance Makefile to allow to use the server directly --- Makefile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index ee51da9..4225281 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,16 @@ -HUGO_PARAMS = -D +HUGO_PARAMS = +DEV_PARAMS = -D all: build: - hugo ${HUGO_PARAMS} + hugo ${HUGO_PARAMS} --minify + +dev: + hugo ${HUGO_PARAMS} ${DEV_PARAMS} + +server: + hugo server ${HUGO_PARAMS} ${DEV_PARAMS} tarball: build tar czf page.tar.gz -C public .