mirror of https://github.com/luizdepra/hugo-coder.git

Luiz F. A. de Prá
3 days ago 011adf79ec795af29e06f393c9eb774a4b09cce4
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