Changed build rule and added release rule to Makefile

This commit is contained in:
David Allen 2024-08-12 13:06:02 -06:00
parent 3287d76588
commit a7af568ccf
No known key found for this signature in database
GPG key ID: 717C593FF60A2ACC

View file

@ -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/golangci/golangci-lint/cmd/golangci-lint@v1.52.2
go install github.com/goreleaser/goreleaser@v1.18.2 go install github.com/goreleaser/goreleaser@v1.18.2
.PHONY: build .PHONY: goreleaser
build: ## goreleaser build release: ## goreleaser build
build:
$(call print-target) $(call print-target)
goreleaser build --clean --single-target --snapshot goreleaser build --clean --single-target --snapshot
.PHONY: build
build: ## goreleaser build
go build --tags=all
.PHONY: docker .PHONY: docker
docker: ## docker build docker: ## docker build
docker: docker: