Created
March 24, 2017 22:24
-
-
Save heysamtexas/7df2cbf694d7ea34a5cc534ff884525b to your computer and use it in GitHub Desktop.
Default help command for Makefile
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
############################################################################### | |
# HELP / DEFAULT COMMAND | |
############################################################################### | |
.PHONY: help | |
help: | |
@awk 'BEGIN {FS = ":.*?## "} /^[a-zA-Z_-]+:.*?## / {printf "\033[36m%-30s\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