Skip to content

Commit

Permalink
Changed build rule and added release rule to Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
davidallendj committed Aug 12, 2024
1 parent 3287d76 commit a7af568
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,15 @@ inst: ## go install tools
go install github.com/golangci/golangci-lint/cmd/[email protected]
go install github.com/goreleaser/[email protected]

.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:
Expand Down

0 comments on commit a7af568

Please sign in to comment.