Browse Source

Update RUNME.sh

spoon feeding.
John Pope 8 years ago
parent
commit
3b04257c9f
1 changed files with 12 additions and 2 deletions
  1. 12 2
      third_party/RUNME.sh

+ 12 - 2
third_party/RUNME.sh

@@ -1,5 +1,15 @@
 #!/bin/sh
 #!/bin/sh
+printf "\033c"
+read -p "Would you like to download and install swift-protobuf / grpc [y/N]" CONDITION;
+if [ "$CONDITION" == "y" ] ; 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
+fi
 
 
-git clone -b 0.9.24 https://github.com/apple/swift-protobuf.git
-git clone https://github.com/grpc/grpc.git