aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Bobov <anton@bobov.name>2023-10-28 22:03:29 +0500
committerAnton Bobov <anton@bobov.name>2023-10-28 22:03:29 +0500
commit1c596dbb4ee1fcec171a4f0784c3774fae0d186a (patch)
tree282fa83044a11ce6e27a0081b50deff6c1b4f6eb
parentee93ce7d7c7a81d1a86b1991d74df12e9d8ecfbd (diff)
[vim] Add Makefile template
-rw-r--r--files/.vim/templates/=template=Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/files/.vim/templates/=template=Makefile b/files/.vim/templates/=template=Makefile
new file mode 100644
index 0000000..1c87ce3
--- /dev/null
+++ b/files/.vim/templates/=template=Makefile
@@ -0,0 +1,7 @@
+.PHONY: all help
+
+help: ## Show this help
+ @egrep -h '\s##\s' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}'
+
+all:
+ %HERE%@echo "%FFILE% needs your attention"