Skip to content

Instantly share code, notes, and snippets.

@SithEngineer
SithEngineer / Makefile
Created March 12, 2022 17:01
A Makefile that documents itself.
.DEFAULT_GOAL := help
.PHONY: help
help:
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
cmd-a: ## Run command A
@echo "Command A executed"
cmd-b: ## Run command B
### Keybase proof
I hereby claim:
* I am sithengineer on github.
* I am sithengineer (https://keybase.io/sithengineer) on keybase.
* I have a public key ASCL41OeNaqXUajW6fmHZ52L2AEHgTlaErtAqlVOY1sJfwo
To claim this, I am signing this object: