Skip to content

Commit

Permalink
chore: update Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
katallaxie committed Apr 20, 2024
1 parent e2b4d4e commit c9f6825
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
.DEFAULT_GOAL := build

GO ?= go
GO_RUN_TOOLS ?= $(GO) run -modfile ./tools/go.mod
GO_TEST = $(GO_RUN_TOOLS) gotest.tools/gotestsum --format pkgname
GO_RUN_TOOLS ?= $(GO) run -modfile ./tools/go.mod
GO_RELEASER ?= $(GO_RUN_TOOLS) github.com/goreleaser/goreleaser
GO_TEST ?= $(GO_RUN_TOOLS) gotest.tools/gotestsum --format pkgname

.PHONY: release
release: ## Release the project.
$(GO_RELEASER) release --clean

.PHONY: generate
generate: install ## Generate code.
Expand Down

0 comments on commit c9f6825

Please sign in to comment.