Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ all: format build
format:
go fmt ./...

lint:
lint: install-build-deps
golangci-lint run

test:
go test ./...

generate:
generate: install-build-deps
go generate ./...

build:
Expand Down Expand Up @@ -44,6 +44,13 @@ generate-client:

generate-api: generate-client format

generate-license:
generate-license: install-build-deps
go-licenses report --template .NOTICE.template ./... > NOTICE
copywrite headers apply

install-build-deps:
go install github.com/vektra/mockery/v3@v3.2.1
go install github.com/google/go-licenses@v1.6.0
go install github.com/hashicorp/copywrite@v0.22.0
go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.1.2