Makefile 344 Bytes
Newer Older
1 2 3 4 5 6 7 8 9
build:  ## Generates the static website
	hugo
run:    ## Runs a webserver that updates on changes
	hugo serve
clean:  ## Deletes all the generates files
	rm -r ./public
help:
	@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'

10
.PHONY: build run clean help