From a7af568ccfabea2a6486e5369cf68b609a21ffb4 Mon Sep 17 00:00:00 2001 From: David Allen Date: Mon, 12 Aug 2024 13:06:02 -0600 Subject: [PATCH] Changed build rule and added release rule to Makefile --- Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 0da4f4c..741a382 100644 --- a/Makefile +++ b/Makefile @@ -47,12 +47,15 @@ inst: ## go install tools go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.52.2 go install github.com/goreleaser/goreleaser@v1.18.2 -.PHONY: build -build: ## goreleaser build -build: +.PHONY: goreleaser +release: ## goreleaser build $(call print-target) goreleaser build --clean --single-target --snapshot +.PHONY: build +build: ## goreleaser build + go build --tags=all + .PHONY: docker docker: ## docker build docker: