Created
July 8, 2022 13:49
-
-
Save Sanix-Darker/1d28fa20b0ccfa6b323eca7fa2831352 to your computer and use it in GitHub Desktop.
Makefile.help
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.PHONY: run | |
run: ## This is a comment that will appear on the "make help" | |
.PHONY: help | |
help: ## print this help | |
@awk 'BEGIN {FS = ":.*?## "} /^[a-zA-Z0-9_-]+:.*?## / {gsub("\\\\n",sprintf("\n%22c",""), $$2);printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}' $(MAKEFILE_LIST) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment