From 0ea26d7586fb7367689de60cf1b2e31c8e5efc48 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Sat, 25 Feb 2023 15:24:08 +0800 Subject: [PATCH] Update development tasks --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 1bc4d7b..1e9ddd6 100644 --- a/Makefile +++ b/Makefile @@ -7,10 +7,10 @@ build-openring: ./bin/openring-create --input assets/templates/openring-input.html --output layouts/partials/openring.html .PHONY: serve -serve: build-openring - ls assets/templates/openring-input.html | LAST_COMMIT_DATE=$(git log -1 --format=%cI) hugo serve --buildFuture --verboseLog +serve: + hugo serve --buildFuture --verboseLog --destination public .PHONY: update update: curl --silent --location https://api.github.com/repos/foo-dogsquared/hugo-theme-more-contentful/commits | jq '.[0].sha' --raw-output | xargs --replace='{}' hugo mod get -u "github.com/foo-dogsquared/hugo-theme-more-contentful@{}" && hugo mod tidy - curl --silent --location https://api.github.com/repos/foo-dogsquared/hugo-web-feeds/commits | jq '.[0].sha' --raw-output | xargs --replace='{}' hugo mod get -u "github.com/foo-dogsquared/hugo-web-feeds@{}" && hugo mod tidy + curl --silent --location https://api.github.com/repos/foo-dogsquared/hugo-mod-web-feeds/commits | jq '.[0].sha' --raw-output | xargs --replace='{}' hugo mod get -u "github.com/foo-dogsquared/hugo-mod-web-feeds@{}" && hugo mod tidy