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
|
|
|
rm -r exampleSite/resources
|
|
|
|
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
|