Skip to content

Commit ab296f6

Browse files
authored
Merge pull request #42 from johndpope/patch-1
Updates to Runme.sh
2 parents eadaca0 + 0c1c3bc commit ab296f6

File tree

1 file changed

+24
-2
lines changed

1 file changed

+24
-2
lines changed

third_party/RUNME.sh

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
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

0 commit comments

Comments
 (0)