summaryrefslogtreecommitdiff
path: root/Makefile
blob: e6b1d338a2822609ea04e306986cb2e3c009535f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
HUGO ?= hugo
PORT ?= 1314
BASE_URL ?= http://localhost:1314/

.PHONY: build serve clean

build: clean
	$(HUGO) --baseURL "$(BASE_URL)"
	./scripts/publish-raw

serve: build
	$(HUGO) server --disableFastRender --disableLiveReload --port $(PORT) --baseURL "http://localhost:$(PORT)/"

clean:
	$(RM) -r public resources .hugo_build.lock