summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-03-24 21:54:13 -0500
committerJeff Carr <[email protected]>2025-03-24 21:54:13 -0500
commite4345c8ad6584f4fc5393c7844bb1967d6564d63 (patch)
treeb145c2e11edd3650ea0a3ea1954838ae00b8b818 /Makefile
parent276c5cec2f28ef265a615d31cf27d25e72b29cf8 (diff)
moving to a cluster.proto config filev0.2.33
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2a7fd08..b159e53 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@
# cd ~/go/src/google.golang.org/protobuf/cmd/protoc-gen-go
# go install
-all: droplet.pb.go hypervisor.pb.go event.pb.go goimports vet
+all: proto goimports vet
vet:
@GO111MODULE=off go vet
@@ -22,6 +22,8 @@ clean:
rm -f *.pb.go
-rm -f go.*
+proto:droplet.pb.go hypervisor.pb.go event.pb.go cluster.pb.go
+
droplet.pb.go: droplet.proto
autogenpb --proto droplet.proto
@@ -31,6 +33,9 @@ hypervisor.pb.go: hypervisor.proto
event.pb.go: event.proto
autogenpb --proto event.proto
+cluster.pb.go: cluster.proto
+ autogenpb --proto cluster.proto
+
deps:
apt install golang-goprotobuf-dev
apt install protobuf-compiler