diff options
| -rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -13,6 +13,11 @@ PROTOGENLOCAL= $(shell if [ -e ~/go/bin/protoc-gen-go ]; then echo ~/go/bin/pro all: @echo ${PROTOGEN} @echo ${PROTOGENLOCAL} + @if [ ! -f ~/go/bin/protc-gen-go ]; then \ + echo "you have not build ~/go/bin/protoc-gen-go from google's repo"; \ + echo "run 'make protogen'" \ + exit -1; \ + fi make build ./virtigo --version @echo build worked |
