Enhance Makefile to allow to use the server directly
This commit is contained in:
parent
4974db0495
commit
67f5f175e7
11
Makefile
11
Makefile
@ -1,9 +1,16 @@
|
||||
HUGO_PARAMS = -D
|
||||
HUGO_PARAMS =
|
||||
DEV_PARAMS = -D
|
||||
|
||||
all:
|
||||
|
||||
build:
|
||||
hugo ${HUGO_PARAMS}
|
||||
hugo ${HUGO_PARAMS} --minify
|
||||
|
||||
dev:
|
||||
hugo ${HUGO_PARAMS} ${DEV_PARAMS}
|
||||
|
||||
server:
|
||||
hugo server ${HUGO_PARAMS} ${DEV_PARAMS}
|
||||
|
||||
tarball: build
|
||||
tar czf page.tar.gz -C public .
|
||||
|
Loading…
x
Reference in New Issue
Block a user