chore: add help to Makefile

This commit is contained in:
Art Rosnovsky
2023-11-29 20:01:00 -08:00
parent 000ee29dc1
commit f6cfd69a1a

View File

@@ -1,5 +1,11 @@
build:
.PHONY: build
build: ## Generate resume locally
pnpm install
pnpm build
.PHONY: build run
help: ## Show this help
@echo "Usage: make [target]"
@echo ""
@echo "Targets:"
@awk 'BEGIN {FS = ":.*##"; printf "\nUsage: make [target]\n\nTargets:\n"} /^[a-zA-Z_-]+:.*?##/ { printf " %-30s %s\n", $$1, $$2 }' $(MAKEFILE_LIST)