mirror of
https://github.com/kemko/resume.git
synced 2026-01-01 15:55:47 +03:00
chore: add help to Makefile
This commit is contained in:
10
Makefile
10
Makefile
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user