From 243042100694eccb52247d463d1802c672a6bd12 Mon Sep 17 00:00:00 2001 From: Joachim Bauch Date: Wed, 7 Feb 2024 11:23:45 +0100 Subject: [PATCH] make: Update easyjson / prococ generators if dependencies changed. --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index b584fad..5a73eef 100644 --- a/Makefile +++ b/Makefile @@ -53,14 +53,14 @@ endif hook: [ ! -d "$(CURDIR)/.git/hooks" ] || ln -sf "$(CURDIR)/scripts/pre-commit.hook" "$(CURDIR)/.git/hooks/pre-commit" -$(GOPATHBIN)/easyjson: +$(GOPATHBIN)/easyjson: go.mod go.sum [ "$(GOPROXY)" = "off" ] || $(GO) get -u -d github.com/mailru/easyjson/... $(GO) install github.com/mailru/easyjson/... -$(GOPATHBIN)/protoc-gen-go: +$(GOPATHBIN)/protoc-gen-go: go.mod go.sum $(GO) install google.golang.org/protobuf/cmd/protoc-gen-go -$(GOPATHBIN)/protoc-gen-go-grpc: +$(GOPATHBIN)/protoc-gen-go-grpc: go.mod go.sum [ "$(GOPROXY)" = "off" ] || $(GO) get -u -d google.golang.org/grpc/cmd/protoc-gen-go-grpc $(GO) install google.golang.org/grpc/cmd/protoc-gen-go-grpc