Skip to content

Instantly share code, notes, and snippets.

@rmchale
rmchale / Makefile
Last active December 1, 2021 18:40
Makefile template borrowed from MIke Small
.PHONY: clean init plan apply format lint validate
## hello
hello:
@echo "hello world"
# https://stackoverflow.com/a/25668869
# https://stackoverflow.com/a/19107231
ifeq (, $(shell which fzf))
# simple, brief make rules help generated from comments in Makefile.
@rmchale
rmchale / mkver.conf
Created January 8, 2022 17:40
mkver.conf for main
# prefix for tags in git
tagPrefix: v
# defaults are used if they are not overriden by a branch config
defaults {
# whether to really tag the branch when `git mkver tag` is called
tag: false
# message for annotated version tags in git
tagMessageFormat: "release {Tag}"
# format tring for the pre-release. The format must end with {PreReleaseNumber} if it is used.
# Examples: