|
|
@ -112,11 +112,12 @@ endif
|
|
|
|
ifndef HAS_GOX
|
|
|
|
ifndef HAS_GOX
|
|
|
|
go get -u github.com/mitchellh/gox
|
|
|
|
go get -u github.com/mitchellh/gox
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
ifndef HAS_HG
|
|
|
|
ifndef HAS_HG
|
|
|
|
$(error You must install Mercurial (hg))
|
|
|
|
@echo "Mercurial is not installed! Checking for Git"
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifndef HAS_GIT
|
|
|
|
ifndef HAS_GIT
|
|
|
|
$(error You must install Git)
|
|
|
|
$(error You must either install Mercurial or Git)
|
|
|
|
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
glide install --strip-vendor
|
|
|
|
glide install --strip-vendor
|
|
|
|
go build -o bin/protoc-gen-go ./vendor/github.com/golang/protobuf/protoc-gen-go
|
|
|
|
go build -o bin/protoc-gen-go ./vendor/github.com/golang/protobuf/protoc-gen-go
|
|
|
|