Skip to content

Commit 9f4d968

Browse files
committed
Add make target to install dependencies
1 parent 5d34a4e commit 9f4d968

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

Makefile

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ all: format build
66
format:
77
go fmt ./...
88

9-
lint:
9+
lint: install-build-deps
1010
golangci-lint run
1111

1212
test:
1313
go test ./...
1414

15-
generate:
15+
generate: install-build-deps
1616
go generate ./...
1717

1818
build:
@@ -44,6 +44,13 @@ generate-client:
4444

4545
generate-api: generate-client format
4646

47-
generate-license:
47+
generate-license: install-build-deps
4848
go-licenses report --template .NOTICE.template ./... > NOTICE
4949
copywrite headers apply
50+
51+
install-build-deps:
52+
go install github.com/vektra/mockery/v3@v3.2.1
53+
go install github.com/google/go-licenses@v1.6.0
54+
go install github.com/hashicorp/copywrite@v0.22.0
55+
go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.1.2
56+

0 commit comments

Comments
 (0)