File tree Expand file tree Collapse file tree 1 file changed +20
-8
lines changed Expand file tree Collapse file tree 1 file changed +20
-8
lines changed Original file line number Diff line number Diff line change 22printf " \033c"
33read -p " Would you like to download and install swift-protobuf / grpc [y/N]" CONDITION;
44if [ " $CONDITION " == " y" ] ; then
5- git clone https://github.com/apple/swift-protobuf.git
6- cd swift-protobuf
7- make install
8- cd ..
9- git clone https://github.com/grpc/grpc.git
10- cd grpc
11- git submodule update --init
12- make install
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
1325fi
1426
1527
You can’t perform that action at this time.
0 commit comments