summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-26 05:34:26 -0600
committerJeff Carr <[email protected]>2024-11-26 05:34:26 -0600
commit44caec2e7fc59697ef01835aacf8a03171a42bea (patch)
tree33bbb0ff3200d5a49eb6aa407ea1bd5f0fa828bd /Makefile
parentf7bf89148d1c66505dc102f0e27f62371f5004f4 (diff)
take a stab at a protobuf for the go deps
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
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