Skip to content

Commit

Permalink
Merge pull request #42 from johndpope/patch-1
Browse files Browse the repository at this point in the history
Updates to Runme.sh
  • Loading branch information
timburks authored Apr 8, 2017
2 parents eadaca0 + 0c1c3bc commit ab296f6
Showing 1 changed file with 24 additions and 2 deletions.
26 changes: 24 additions & 2 deletions third_party/RUNME.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
#!/bin/sh
printf "\033c"
read -p "Would you like to download and install swift-protobuf / grpc [y/N]" CONDITION;
if [ "$CONDITION" == "y" ] ; then
read -p "Use last known stable branch - 0.9.24 ? or latest master ? [S/l] " CONDITION;
if [ "$CONDITION" == "l" ] ; then
git clone https://github.com/apple/swift-protobuf.git
cd swift-protobuf
make install
cd ..
git clone https://github.com/grpc/grpc.git
cd grpc
git submodule update --init
make install
else
git clone -b 0.9.24 https://github.com/apple/swift-protobuf.git
cd swift-protobuf
make install
cd ..
git clone https://github.com/grpc/grpc.git
cd grpc
git submodule update --init
make install
fi
fi

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

0 comments on commit ab296f6

Please sign in to comment.