blog/Makefile

19 lines
286 B
Makefile
Raw Permalink Normal View History

2020-07-14 17:00:41 +02:00
.PHONY: all
2021-08-08 16:01:27 +02:00
all: build-dev
2020-07-14 17:00:41 +02:00
.PHONY: build-dev
build-dev:
HUGO_TITLE="Ambroisie's dev blog" HUGO_BASEURL=https://dev.belanyi.fr hugo -D -F
2020-07-14 17:00:41 +02:00
.PHONY: build-prod
build-prod:
2021-08-08 16:01:27 +02:00
HUGO_ENV=production hugo --minify
2020-07-14 17:00:41 +02:00
.PHONY: serve
2021-08-08 16:01:27 +02:00
serve:
hugo server -D -F
2020-07-14 17:00:41 +02:00
.PHONY: clean
clean:
$(RM) -r public