RUNME.sh 609 B

123456789101112131415
  1. #!/bin/sh
  2. printf "\033c"
  3. read -p "Would you like to download swift-protobuf / grpc [y/N]" CONDITION;
  4. if [ "$CONDITION" == "y" ] ; then
  5. read -p "Use last known stable swift-protobuf - 0.9.901 ? or latest master ? [S/l] " CONDITION;
  6. if [ "$CONDITION" == "l" ] ; then
  7. git clone https://github.com/apple/swift-protobuf.git
  8. else
  9. git clone -b 0.9.901 https://github.com/apple/swift-protobuf.git
  10. fi
  11. git clone https://github.com/grpc/grpc.git
  12. cd grpc
  13. # this step is slow and only needed to rebuild the vendored Sources/BoringSSL code.
  14. #git submodule update --init
  15. fi