This commit is contained in:
mivinci 2021-07-18 21:40:40 +08:00
parent 9fd4150509
commit b96ac1bc1f
4 changed files with 61 additions and 296 deletions

13
Makefile Normal file
View file

@ -0,0 +1,13 @@
source=exampleSite
.PHONY: dev, build, clean
dev:
hugo server -D -s $(source) --themesDir ../..
build:
cd exampleSite
hugo -D --gc --minify -s $(source) --themesDir ../..
clean:
rm -r $(source)/public