RUNME.sh 367 B

123456789101112131415
  1. #!/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