summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 191b07b..362df41 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@
# go install
-all: refs.pb.go godep.pb.go vet
+all: refs.pb.go godep.pb.go repo.pb.go vet
vet: lint
GO111MODULE=off go vet
@@ -36,3 +36,10 @@ 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
+
+repo.pb.go: repo.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 \
+ --go_opt=Mgodep.proto=go.wit.com/lib/protobuf/gitpb \
+ --go_opt=Mrepo.proto=go.wit.com/lib/protobuf/gitpb \
+ repo.proto