blog/makefile

14 lines
277 B
Makefile

.PHONY: docker-build serve write
write: serve
hugo:
go get -u --tags extended -v github.com/gohugoio/hugo
go install --tags extended -v github.com/gohugoio/hugo
docker-build:
docker build --build-arg='VERSION=0.59.1' -t hugo .
serve:
./hugo server -D -w --bind 0.0.0.0