Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR 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}'
Source by marmelab.com #
 
PREVIOUS NEXT
Tagged: #documenting #makefile
ADD COMMENT
Topic
Name
4+3 =