summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-10-22 02:51:45 -0500
committerJeff Carr <[email protected]>2024-10-22 02:51:45 -0500
commitbcc97a550a70305f9182b452ef650789c2fa2b45 (patch)
treea8d4460d4f94fcb5615719b3b4373c4f93d17e77 /Makefile
parentec178de1d7b9cd94bdd6ffd6a64b914bae15a549 (diff)
is this how to support multiple droplets?
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 029c8d8..350fd4b 100644
--- a/Makefile
+++ b/Makefile
@@ -43,6 +43,12 @@ droplet.pb.go: droplet.proto
--go_opt=Mdroplet.proto=go.wit.com/lib/protobuf/virtbuf \
droplet.proto
+cluster.pb.go: cluster.proto
+ cd ~/go/src && protoc --go_out=. --proto_path=go.wit.com/lib/protobuf/virtbuf \
+ --go_opt=Mdroplet.proto=go.wit.com/lib/protobuf/virtbuf \
+ --go_opt=Mcluster.proto=go.wit.com/lib/protobuf/virtbuf \
+ cluster.proto
+
events.pb.go: events.proto
protoc --go_out=. events.proto