simoncor.net/themes/hugo-coder/Makefile

13 lines
267 B
Makefile
Raw Permalink Normal View History

2020-07-16 22:43:30 +02:00
HUGO_BIN=hugo
2024-08-26 17:13:18 +02:00
.PHONY: build demo release
2020-07-16 22:43:30 +02:00
2024-08-26 17:13:18 +02:00
build:
$(HUGO_BIN) --themesDir=../.. --source=exampleSite
2020-07-16 22:43:30 +02:00
2024-08-26 17:13:18 +02:00
demo:
$(HUGO_BIN) server -D --themesDir=../.. --source=exampleSite --bind 0.0.0.0
2020-07-16 22:43:30 +02:00
release: build
2024-08-26 17:13:18 +02:00
rm -rf ./resources && cp -r ./exampleSite/resources ./resources