2020-07-14 17:00:41 +02:00
|
|
|
.PHONY: all
|
|
|
|
all: build
|
|
|
|
|
|
|
|
.PHONY: build
|
|
|
|
build: build-dev
|
|
|
|
|
|
|
|
.PHONY: build-dev
|
|
|
|
build-dev:
|
2020-07-15 16:59:11 +02:00
|
|
|
hugo -D -F
|
2020-07-14 17:00:41 +02:00
|
|
|
|
|
|
|
.PHONY: build-prod
|
|
|
|
build-prod:
|
|
|
|
HUGO_ENV=production hugo
|
|
|
|
|
|
|
|
.PHONY: serve
|
|
|
|
serve: serve-dev
|
|
|
|
|
|
|
|
.PHONY: serve-dev
|
|
|
|
serve-dev:
|
2020-07-15 16:59:11 +02:00
|
|
|
hugo server -D -F
|
2020-07-14 17:00:41 +02:00
|
|
|
|
|
|
|
.PHONY: serve-prod
|
|
|
|
serve-prod:
|
|
|
|
hugo server
|
|
|
|
|
|
|
|
.PHONY: clean
|
|
|
|
clean:
|
|
|
|
$(RM) -r public
|