mirror of
https://github.com/foo-dogsquared/hugo-theme-more-contentful.git
synced 2025-01-31 04:58:14 +00:00
Improve Makefile
This commit is contained in:
parent
7b22f436a6
commit
326535df7a
9
Makefile
9
Makefile
@ -1,4 +1,11 @@
|
|||||||
.PHONY = update
|
.PHONY : serve
|
||||||
|
serve:
|
||||||
|
hugo -s ./exampleSite server
|
||||||
|
|
||||||
|
.PHONY : update
|
||||||
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
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user