parent
81cbb6e9d7
commit
3046ff335f
10
Makefile
10
Makefile
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue