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
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 "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; \
echo "and install protoc-gen-go-wit from mirrors.wit.com"; \
fi
make all