From 9342bd97e48533cd2d23be02030484d0ee6048e2 Mon Sep 17 00:00:00 2001 From: TJ Hoplock Date: Thu, 5 Dec 2024 23:14:20 -0500 Subject: [PATCH] build(Makefile): remove unused `COMMIT` var, fix help rendering --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 7ba328f..a2dfced 100644 --- a/Makefile +++ b/Makefile @@ -1,14 +1,13 @@ GOCMD := go GOFMT := ${GOCMD} fmt GOMOD := ${GOCMD} mod -COMMIT := $(shell git rev-parse HEAD) RELEASE_CONTAINER_NAME := mango GOLANGCILINT_CACHE := ${CURDIR}/.golangci-lint/build/cache # autogenerate help messages for comment lines with 2 `#` .PHONY: help help: ## print this help message - @awk 'BEGIN {FS = ":.*##"; printf "\nUsage:\n make \033[36m\033[0m\n\nTargets:\n"} /^[a-z0-9A-Z_-]+:.*?##/ { printf " \033[36m%-10s\033[0m\t%s\n", $$1, $$2 }' $(MAKEFILE_LIST) + @awk 'BEGIN {FS = ":.*##"; printf "\nUsage:\n make \033[36m\033[0m\n\nTargets:\n"} /^[a-z0-9A-Z_-]+:.*?##/ { printf " \033[36m%-30s\033[0m%s\n", $$1, $$2 }' $(MAKEFILE_LIST) .PHONY: tidy tidy: ## tidy modules