We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8f2c44f + c7f4b0a commit f6d0b68Copy full SHA for f6d0b68
snippets/make.snippets
@@ -43,3 +43,8 @@ snippet el
43
# .DEFAULT_GOAL := target
44
snippet default
45
.DEFAULT_GOAL := ${1}
46
+# help target for self-documentated Makefile
47
+snippet help
48
+ help: ## Prints help for targets with comments
49
+ @grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $\$1, $\$2}'
50
+ ${0}
0 commit comments