summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-27 13:57:17 -0600
committerJeff Carr <[email protected]>2024-11-27 13:57:17 -0600
commit2e3e4f98d33d8794a1c8a6aa13e6c9fa92fbcadb (patch)
treecd6222e4dc98e9de94981ade9f15f34030cc3d61 /Makefile
parent44caec2e7fc59697ef01835aacf8a03171a42bea (diff)
start full refactor to have repo be here
Signed-off-by: Jeff Carr <[email protected]>
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