From 326535df7a828c0c91a98b01753253f3e4e027ee Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Wed, 4 May 2022 12:41:25 +0800 Subject: [PATCH] Improve Makefile --- Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 033e23b..3197f8e 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,11 @@ -.PHONY = update +.PHONY : serve +serve: + hugo -s ./exampleSite server + +.PHONY : update update: curl --silent --location https://api.github.com/repos/foo-dogsquared/hugo-mod-simple-icons/commits | jq '.[0].sha' --raw-output | xargs --replace='{}' hugo mod get -u "github.com/foo-dogsquared/hugo-mod-simple-icons@{}" && hugo mod tidy +.PHONY : build-demo +build-demo: + hugo -s ./exampleSite