File tree Expand file tree Collapse file tree 1 file changed +24
-2
lines changed Expand file tree Collapse file tree 1 file changed +24
-2
lines changed Original file line number Diff line number Diff line change 11#! /bin/sh
2+ printf " \033c"
3+ read -p " Would you like to download and install swift-protobuf / grpc [y/N]" CONDITION;
4+ if [ " $CONDITION " == " y" ] ; then
5+ read -p " Use last known stable branch - 0.9.24 ? or latest master ? [S/l] " CONDITION;
6+ if [ " $CONDITION " == " l" ] ; then
7+ git clone https://github.com/apple/swift-protobuf.git
8+ cd swift-protobuf
9+ make install
10+ cd ..
11+ git clone https://github.com/grpc/grpc.git
12+ cd grpc
13+ git submodule update --init
14+ make install
15+ else
16+ git clone -b 0.9.24 https://github.com/apple/swift-protobuf.git
17+ cd swift-protobuf
18+ make install
19+ cd ..
20+ git clone https://github.com/grpc/grpc.git
21+ cd grpc
22+ git submodule update --init
23+ make install
24+ fi
25+ fi
226
3- git clone -b 0.9.24 https://github.com/apple/swift-protobuf.git
4- git clone https://github.com/grpc/grpc.git
527
You can’t perform that action at this time.
0 commit comments