From 05b3c39bb0cdc4ea1c292558a7c35508bf4a4417 Mon Sep 17 00:00:00 2001 From: James Read Date: Mon, 11 Oct 2021 19:22:01 +0100 Subject: [PATCH] Moved deps into their own target --- Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7860a7e..c804fbb 100644 --- a/Makefile +++ b/Makefile @@ -21,8 +21,15 @@ daemon-unittests: mkdir -p reports go test ./... -coverprofile reports/unittests.out go tool cover -html=reports/unittests.out -o reports/unittests.html + +go-tools: + go install "github.com/bufbuild/buf/cmd/buf" + go install "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway" + go install "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2" + go install "google.golang.org/grpc/cmd/protoc-gen-go-grpc" + go install "google.golang.org/protobuf/cmd/protoc-gen-go" -grpc: +grpc: go-tools buf generate podman-image: