Skip to content

Commit 3b04257

Browse files
authored
Update RUNME.sh
spoon feeding.
1 parent 8f9c7ff commit 3b04257

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

third_party/RUNME.sh

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
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+
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
13+
fi
214

3-
git clone -b 0.9.24 https://github.com/apple/swift-protobuf.git
4-
git clone https://github.com/grpc/grpc.git
515

0 commit comments

Comments
 (0)