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 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: