Created
August 17, 2017 15:12
-
-
Save paulanunda/d69fc6d974191b55f0dd1711b20da44b to your computer and use it in GitHub Desktop.
This file contains 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
# Add the 'help' target below to your makefile, and then | |
# add "## DESCRIPTIVE TEXT" after each target | |
.PHONY: help | |
help: ## Display help | |
@echo $(MAKEFILE_LIST) | |
@awk -F ':|##' '/^[^\t].+?:.*?##/ {printf \ | |
"\033[36m%-30s\033[0m %s\n", $$1, $$NF }' $(MAKEFILE_LIST) | sort |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment