Created
December 5, 2020 19:52
-
-
Save santarinto/f07d36d2a3f4ca813cb341bbb8549b9f to your computer and use it in GitHub Desktop.
Default Makefile woth help tasks
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
# Get from https://diamantidis.github.io/tips/2020/07/01/list-makefile-targets | |
.DEFAULT_GOAL := help | |
.PHONY: help | |
help: | |
@grep -E '^[a-zA-Z0-9_-]+:.*?## .*$$' $(MAKEFILE_LIST) \ | |
| sed -n 's/^\(.*\): \(.*\)##\(.*\)/\1\3/p' \ | |
| column -t -s ' ' | |
install: ## Install | |
@echo "Installing..." | |
run: ## Run | |
@echo "Running..." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If comment great than 2 word all th comment bad view (