hugo-theme-minima/Makefile

14 lines
268 B
Makefile
Raw Permalink Normal View History

2021-07-18 15:40:40 +02:00
source=exampleSite
2021-08-07 16:01:03 +02:00
themeDir=../..
2021-07-18 15:40:40 +02:00
.PHONY: dev, build, clean
dev:
2021-08-19 06:42:47 +02:00
hugo server -D -s $(source) --themesDir $(themeDir) --disableFastRender
2021-07-18 15:40:40 +02:00
build:
2021-08-07 16:01:03 +02:00
hugo -D --gc --minify -s $(source) --themesDir $(themeDir)
2021-07-18 15:40:40 +02:00
clean:
rm -r $(source)/public
rm -r exampleSite/resources