-
Notifications
You must be signed in to change notification settings - Fork 420
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #42 from johndpope/patch-1
Updates to Runme.sh
- Loading branch information
Showing
1 changed file
with
24 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|