Skip to content

Commit aa3d9a8

Browse files
committed
Add comment explaining the help rule
1 parent ec6cb1b commit aa3d9a8

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

go-demo/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# Generate help text for each rule with `##` after the name
12
.PHONY: help
23
help:
34
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'

0 commit comments

Comments
 (0)