Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2024-11-18 05:32:37 -06:00
parent 81cbb6e9d7
commit 3046ff335f
1 changed files with 2 additions and 8 deletions

View File

@ -4,16 +4,10 @@
# go install # go install
check-for-protoc-gen-go: check-for-protoc-gen-go:
@if [ -f "/usr/bin/bin/protoc-gen-go" ]; then \ @if [ -f "/usr/bin/protoc-gen-go" ]; then \
echo "the protoc-gen-go package is old in debian sid right now"; \ echo "the protoc-gen-go package is old in debian sid right now"; \
echo "for now, remove it"; \ echo "for now, remove it"; \
apt remote proto-gen-go \ echo "and install protoc-gen-go-wit from mirrors.wit.com"; \
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 fi
make all make all