13 lines
267 B
Makefile
13 lines
267 B
Makefile
|
HUGO_BIN=hugo
|
||
|
|
||
|
.PHONY: build demo release
|
||
|
|
||
|
build:
|
||
|
$(HUGO_BIN) --themesDir=../.. --source=exampleSite
|
||
|
|
||
|
demo:
|
||
|
$(HUGO_BIN) server -D --themesDir=../.. --source=exampleSite --bind 0.0.0.0
|
||
|
|
||
|
release: build
|
||
|
rm -rf ./resources && cp -r ./exampleSite/resources ./resources
|