install_tool.sh 370 B

12345678910111213141516171819
  1. #!/bin/sh
  2. #targets
  3. rustup target add x86_64-apple-darwin
  4. #tools
  5. echo 'install tools'
  6. rustup component add rustfmt
  7. cargo install cargo-expand
  8. cargo install cargo-watch
  9. cargo install cargo-cache
  10. #protobuf code gen env
  11. brew install [email protected]
  12. brew tap dart-lang/dart
  13. brew install dart
  14. pub global activate protoc_plugin
  15. cargo install --version 2.20.0 protobuf-codegen