diff options
| author | Jeff Carr <[email protected]> | 2024-11-02 23:56:56 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-11-02 23:56:56 -0500 |
| commit | 2f715b47d53de14393fdf36bfbc38b9a84137cf8 (patch) | |
| tree | 02e035cf40f4ea90e558b8ad926d4d5ecbb80e17 | |
| parent | 17f8c31027d5f726cb961bac1d3217336b0c3d00 (diff) | |
attempt at instructionsv0.2.2
Signed-off-by: Jeff Carr <[email protected]>
| -rw-r--r-- | Makefile | 16 | ||||
| m--------- | work/google.golang.org/protobuf | 0 |
2 files changed, 14 insertions, 2 deletions
@@ -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 # 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 make -C example diff --git a/work/google.golang.org/protobuf b/work/google.golang.org/protobuf new file mode 160000 +Subproject 29947bbd165cd2034df6d15ae06feb83af40c57 |
