|
|
@@ -2,6 +2,10 @@ define delete-files
|
|
|
python3 -c "import shutil;shutil.rmtree('$(1)', ignore_errors=True)"
|
|
|
endef
|
|
|
|
|
|
+BUF_VERSION := v1.72.0
|
|
|
+GOLANGCI_LINT_VERSION := v2.13.2
|
|
|
+PROTOC_GEN_GO_VERSION := v1.36.12
|
|
|
+
|
|
|
compile-currentenv:
|
|
|
go build
|
|
|
|
|
|
@@ -52,11 +56,12 @@ find-flakey-tests-inf:
|
|
|
go run ./scripts/find-flakey-tests-inf
|
|
|
|
|
|
go-tools:
|
|
|
- go install "github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.13.2"
|
|
|
+ go install "github.com/golangci/golangci-lint/v2/cmd/golangci-lint@$(GOLANGCI_LINT_VERSION)"
|
|
|
+
|
|
|
+proto-tools:
|
|
|
+ go install "github.com/bufbuild/buf/cmd/buf@$(BUF_VERSION)"
|
|
|
+ go install "google.golang.org/protobuf/cmd/protoc-gen-go@$(PROTOC_GEN_GO_VERSION)"
|
|
|
|
|
|
-.PHONY: codestyle go-tools unittests unittests-fast find-flakey-tests find-flakey-tests-inf
|
|
|
+go-tools-all: go-tools proto-tools
|
|
|
|
|
|
-go-tools-all:
|
|
|
- go install "github.com/bufbuild/buf/cmd/buf"
|
|
|
- go install "github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.13.2"
|
|
|
- go install "google.golang.org/protobuf/cmd/protoc-gen-go"
|
|
|
+.PHONY: codestyle go-tools proto-tools go-tools-all unittests unittests-fast find-flakey-tests find-flakey-tests-inf
|