Skip to content

Commit 2b1063e

Browse files
committed
build: add generate target to Makefile
Add make generate target to run go generate for all packages.
1 parent 9601e22 commit 2b1063e

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@ lint-deps:
4141
@echo "Installing lint deps"
4242
@go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.10.1
4343

44+
.PHONY: generate
45+
generate:
46+
@echo "Running go generate"
47+
@go generate ./...
48+
4449
.PHONY: lint
4550
lint:
4651
@echo "Running go-linter"

0 commit comments

Comments
 (0)