summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index ffbb48f..cefd157 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@
# go install
-all: refs.pb.go gitTags.pb.go godep.pb.go repos.pb.go vet
+all: refs.pb.go gitTags.pb.go godep.pb.go repo.pb.go
make -C scanGoSrc/
vet: lint
@@ -44,10 +44,11 @@ godep.pb.go: godep.proto
--go_opt=Mgodep.proto=go.wit.com/lib/protobuf/gitpb \
godep.proto
-repos.pb.go: repos.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=Mrepos.proto=go.wit.com/lib/protobuf/gitpb \
+ --go_opt=Mrepo.proto=go.wit.com/lib/protobuf/gitpb \
--go_opt=MgitTags.proto=go.wit.com/lib/protobuf/gitpb \
- repos.proto
+ repo.proto
+ autogenpb --proto repo.proto --sort "ByPath,GoPath"