forked from tsc-vfl/hugo-page
By default publish the server result locally in the network for testing with real devices
This commit is contained in:
parent
a0e42dd7cc
commit
1ab1a7b084
5
Makefile
5
Makefile
@ -1,5 +1,6 @@
|
||||
HUGO_PARAMS =
|
||||
DEV_PARAMS = -D
|
||||
SERVER_PARAMS = --bind 0.0.0.0
|
||||
|
||||
all:
|
||||
|
||||
@ -10,10 +11,10 @@ dev:
|
||||
hugo ${HUGO_PARAMS} ${DEV_PARAMS}
|
||||
|
||||
server:
|
||||
hugo server ${HUGO_PARAMS}
|
||||
hugo server ${HUGO_PARAMS} ${SERVER_PARAMS}
|
||||
|
||||
dev-server:
|
||||
hugo server ${HUGO_PARAMS} ${DEV_PARAMS}
|
||||
hugo server ${HUGO_PARAMS} ${SERVER_PARAMS} ${DEV_PARAMS}
|
||||
|
||||
tarball: build
|
||||
tar czf page.tar.gz -C public .
|
||||
|
Loading…
Reference in New Issue
Block a user