Enforce updating license dependencies
- Closes: #1148 Signed-off-by: Jonathon Anderson <janderson@ciq.com>
This commit is contained in:
5
Tools.mk
5
Tools.mk
@@ -9,6 +9,8 @@ GOLANGCI_LINT_VERSION := v1.60.1
|
||||
|
||||
GOLANG_DEADCODE := $(TOOLS_BIN)/deadcode
|
||||
|
||||
GOLANG_LICENSES := $(TOOLS_BIN)/go-licenses
|
||||
|
||||
PROTOC := $(TOOLS_BIN)/protoc
|
||||
PROTOC_GEN_GO := $(TOOLS_BIN)/protoc-gen-go
|
||||
PROTOC_GEN_GO_GRPC := $(TOOLS_BIN)/protoc-gen-go-grpc
|
||||
@@ -51,6 +53,9 @@ $(PROTOC_GEN_GO):
|
||||
$(PROTOC_GEN_GO_GRPC):
|
||||
GOBIN="$(PWD)/$(TOOLS_BIN)" go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.2
|
||||
|
||||
$(GOLANG_LICENSES):
|
||||
GOBIN="$(PWD)/$(TOOLS_BIN)" go install github.com/google/go-licenses@v1.6.0
|
||||
|
||||
.PHONY: cleantools
|
||||
cleantools:
|
||||
rm -rf $(TOOLS_DIR)
|
||||
|
||||
Reference in New Issue
Block a user