cookbook/makefile

12 lines
405 B
Makefile

.PHONY: help
help: ## Shows this help command
@egrep -h '\s##\s' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}'
dev: ## builds the application with the current go runtime
hugo server -b localhost
docker-build: ## Builds the image
docker build -t cookbook .
docker-run: ## Runs the compiled image for debugging
docker run -p 1313:1313 cookbook