summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-29 01:23:51 -0600
committerJeff Carr <[email protected]>2024-11-29 01:23:51 -0600
commit96d37b5941717f9c3852429ba25420c6ccb3f997 (patch)
tree96ce9881925f71ea41effd3660ef24c318ddad61 /Makefile
parent3b90d979d73da9896570d2dc927e05e769b9670b (diff)
rename this protobuf to something more specific
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7fb1b82..ffbb48f 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@
# go install
-all: refs.pb.go godep.pb.go repos.pb.go vet
+all: refs.pb.go gitTags.pb.go godep.pb.go repos.pb.go vet
make -C scanGoSrc/
vet: lint
@@ -34,6 +34,11 @@ refs.pb.go: refs.proto
--go_opt=Mrefs.proto=go.wit.com/lib/protobuf/gitpb \
refs.proto
+gitTags.pb.go: gitTags.proto
+ cd ~/go/src && protoc --go_out=. --proto_path=go.wit.com/lib/protobuf/gitpb \
+ --go_opt=MgitTags.proto=go.wit.com/lib/protobuf/gitpb \
+ gitTags.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 \
@@ -44,4 +49,5 @@ repos.pb.go: repos.proto
--go_opt=Mrefs.proto=go.wit.com/lib/protobuf/gitpb \
--go_opt=Mgodep.proto=go.wit.com/lib/protobuf/gitpb \
--go_opt=Mrepos.proto=go.wit.com/lib/protobuf/gitpb \
+ --go_opt=MgitTags.proto=go.wit.com/lib/protobuf/gitpb \
repos.proto