By default publish the server result locally in the network for testing with real devices

This commit is contained in:
Christian Wolf 2024-01-07 10:41:22 +01:00
parent a0e42dd7cc
commit 1ab1a7b084

View File

@ -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 .