You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
blog/makefile

18 lines
355 B

.PHONY: docker-build-dev serve write
write: serve
new-post:
./hugo new posts/$${TITLE:new_post}.md
hugo:
go get -u --tags extended -v github.com/gohugoio/hugo
go install --tags extended -v github.com/gohugoio/hugo
docker-build-dev:
docker build --build-arg='VERSION=0.59.1' -t hugo -f Dockerfile.dev .
serve:
./hugo server -D -w --bind 0.0.0.0