attempt at instructions

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2024-11-02 23:56:56 -05:00
parent 17f8c31027
commit 2f715b47d5
2 changed files with 15 additions and 2 deletions

View File

@ -1,9 +1,21 @@
# You must use the current protoc-gen-go # You must use the current google protoc-gen-go
# #
# go-clone --go-src google.golang.org/protobuf
# cd ~/go/src/google.golang.org/protobuf/cmd/protoc-gen-go # cd ~/go/src/google.golang.org/protobuf/cmd/protoc-gen-go
# go install # go install
check-for-protoc-gen-go:
@if [ -f "/usr/bin/bin/protoc-gen-go" ]; then \
echo "the protoc-gen-go package is old in debian sid right now"; \
echo "for now, remove it"; \
apt remote proto-gen-go \
exit 1; \
fi
@if [ ! -f "$(HOME)/go/bin/protoc-gen-go" ]; then \
echo "you must build protoc-gen-go from google"; \
echo go-clone google.golang.org/protobuf; \
cd ~/go/src/google.golang.org/protobuf/cmd/protoc-gen-go/ && go install; \
fi
make all
all: droplet.pb.go hypervisor.pb.go event.pb.go experiments.pb.go all: droplet.pb.go hypervisor.pb.go event.pb.go experiments.pb.go
make -C example make -C example

@ -0,0 +1 @@
Subproject commit 29947bbd165cd2034df6d15ae06feb83af40c572