summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-10-26 06:01:19 -0500
committerJeff Carr <[email protected]>2024-10-26 06:01:19 -0500
commitade54fdedac3bf89636f914b89fd17eaa972947f (patch)
treec1f00a440a436a3b0738b865d89a1a8c5e3a81f7 /Makefile
parenta8484013dc62bc0750f780b04b46cd48fe85ee5b (diff)
events should not be plural
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 74da8df..1e7c471 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@
# go install
-all: droplet.pb.go hypervisor.pb.go cluster.pb.go events.pb.go experiments.pb.go
+all: droplet.pb.go hypervisor.pb.go cluster.pb.go event.pb.go experiments.pb.go
make -C example
vet: lint
@@ -42,11 +42,11 @@ hypervisor.pb.go: hypervisor.proto
--go_opt=Mhypervisor.proto=go.wit.com/lib/protobuf/virtbuf \
hypervisor.proto
-events.pb.go: events.proto
+event.pb.go: event.proto
cd ~/go/src && protoc --go_out=. \
--proto_path=go.wit.com/lib/protobuf/virtbuf \
- --go_opt=Mevents.proto=go.wit.com/lib/protobuf/virtbuf \
- events.proto
+ --go_opt=Mevent.proto=go.wit.com/lib/protobuf/virtbuf \
+ event.proto
experiments.pb.go: experiments.proto
cd ~/go/src && protoc --go_out=. \
@@ -59,6 +59,7 @@ cluster.pb.go: cluster.proto
--go_opt=Mdroplet.proto=go.wit.com/lib/protobuf/virtbuf \
--go_opt=Mcluster.proto=go.wit.com/lib/protobuf/virtbuf \
--go_opt=Mhypervisor.proto=go.wit.com/lib/protobuf/virtbuf \
+ --go_opt=Mevent.proto=go.wit.com/lib/protobuf/virtbuf \
cluster.proto
deps: