make protoc architecture section more readable
@@ -36,23 +36,19 @@ travis: depend all #test-examples test-plugins
# Install protoc
PROTOC_VERSION=3.12.3
+UNZIP=unzip
ifeq ($(GOOS),linux)
PROTOC=protoc-$(PROTOC_VERSION)-linux-x86_64
PROTOC_EXEC=$(PROTOC)/bin/protoc
-UNZIP=unzip
-else
+endif
ifeq ($(GOOS),darwin)
PROTOC=protoc-$(PROTOC_VERSION)-osx-x86_64
PROTOC_EXEC=$(PROTOC)/bin/protoc
-UNZIP=unzip
- else
+endif
ifeq ($(GOOS),windows)
PROTOC=protoc-$(PROTOC_VERSION)-win32
PROTOC_EXEC="$(PROTOC)\bin\protoc.exe"
GOPATH:=$(subst \,/,$(GOPATH))
-UNZIP=unzip
- endif
- endif
endif
depend:
