Created
May 6, 2018 14:58
-
-
Save sjeandeaux/e804578f9fd68d7ba2a5d695bf14f0bc to your computer and use it in GitHub Desktop.
Makefile and help
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
help: ## this help | |
@grep -hE '^[a-zA-Z_-]+.*?:.*?## .*$$' ${MAKEFILE_LIST} | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' | |
goal1: ## goal1 the goal# | |
echo goal1 | |
goal2: goal1 ## goal2 the goal# | |
echo goal2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment