1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
| HUGO_BIN=hugo
|
| .PHONY: build demo release lint format setup
|
| 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
|
| setup:
| npm install
| prek install
|
| lint:
| npm run lint
|
| format:
| npm run format
|
|