Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

self-documenting makefile

.PHONY: help

help:
	@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "33[36m%-30s33[0m %s
", $$1, $$2}'

# All rules with double-hash comments will be automatically displayed in the make help rule
newrule: ## This is what will show up for this rule's help
	echo Hello World
Comment

self documenting makefile

.PHONY: help

help:
	@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "33[36m%-30s33[0m %s
", $$1, $$2}'
Comment

self-documenting makefile

.PHONY: help

help:
	@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "33[36m%-30s33[0m %s
", $$1, $$2}'

# All rules with double-hash comments will be automatically displayed in the make help rule
newrule: ## This is what will show up for this rule's help
	echo Hello World
Comment

self documenting makefile

.PHONY: help

help:
	@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "33[36m%-30s33[0m %s
", $$1, $$2}'
Comment

PREVIOUS NEXT
Code Example
Shell :: youtube dl install ubuntu 
Shell :: install yum terminal 
Shell :: how to commit code to bitbucket first time 
Shell :: ubuntu 20 change display resolution 
Shell :: how to completely remove node from ubuntu 
Shell :: bash command to find the number of files in a directory 
Shell :: linux install node 
Shell :: iptables list ubuntu 
Shell :: migrate fresh 
Shell :: pip command to install xlrd version 1.2.0 
Shell :: chrome skia shader compilation error 
Shell :: pip install hand tracking module 
Shell :: m1 cocoapods 
Shell :: how to kill linux screen 
Shell :: how to isntall blender on linux 
Shell :: update npm-windows 
Shell :: how download google drive file with wget 
Shell :: Git commit ignore pre-commit hooks 
Shell :: heroku install classic 
Shell :: base64 decode in powershell 
Shell :: how to swap ubuntu 
Shell :: which desktop environment is runnings 
Shell :: iis reset 
Shell :: how to add windows to grub 2 
Shell :: arch linux install vscode 
Shell :: check git version linux 
Shell :: change last commit message 
Shell :: install webmin ubuntu 
Shell :: ubuntu see if package is installed 
Shell :: list of running ports linux 
ADD CONTENT
Topic
Content
Source link
Name
3+6 =