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 =
|
HUGO_PARAMS =
|
||||||
DEV_PARAMS = -D
|
DEV_PARAMS = -D
|
||||||
|
SERVER_PARAMS = --bind 0.0.0.0
|
||||||
|
|
||||||
all:
|
all:
|
||||||
|
|
||||||
@ -10,10 +11,10 @@ dev:
|
|||||||
hugo ${HUGO_PARAMS} ${DEV_PARAMS}
|
hugo ${HUGO_PARAMS} ${DEV_PARAMS}
|
||||||
|
|
||||||
server:
|
server:
|
||||||
hugo server ${HUGO_PARAMS}
|
hugo server ${HUGO_PARAMS} ${SERVER_PARAMS}
|
||||||
|
|
||||||
dev-server:
|
dev-server:
|
||||||
hugo server ${HUGO_PARAMS} ${DEV_PARAMS}
|
hugo server ${HUGO_PARAMS} ${SERVER_PARAMS} ${DEV_PARAMS}
|
||||||
|
|
||||||
tarball: build
|
tarball: build
|
||||||
tar czf page.tar.gz -C public .
|
tar czf page.tar.gz -C public .
|
||||||
|
Loading…
Reference in New Issue
Block a user