From 44caec2e7fc59697ef01835aacf8a03171a42bea Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Tue, 26 Nov 2024 05:34:26 -0600 Subject: take a stab at a protobuf for the go deps --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index fb5d194..191b07b 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ # go install -all: refs.pb.go vet +all: refs.pb.go godep.pb.go vet vet: lint GO111MODULE=off go vet @@ -31,3 +31,8 @@ refs.pb.go: refs.proto cd ~/go/src && protoc --go_out=. --proto_path=go.wit.com/lib/protobuf/gitpb \ --go_opt=Mrefs.proto=go.wit.com/lib/protobuf/gitpb \ refs.proto + +godep.pb.go: godep.proto + cd ~/go/src && protoc --go_out=. --proto_path=go.wit.com/lib/protobuf/gitpb \ + --go_opt=Mgodep.proto=go.wit.com/lib/protobuf/gitpb \ + godep.proto -- cgit v1.2.3