1
2
3
4
5
6
7
8
9
10
11
12
| 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
|
|