ci: install protobuf code gen tool

This commit is contained in:
appflowy 2022-02-08 21:43:31 +08:00
parent 561aa348e9
commit dd3f1d0b24

View File

@ -1,5 +1,5 @@
[tasks.flowy_dev]
run_task = { name = ["install_prerequests","install_diesel"] }
run_task = { name = ["install_prerequests","install_diesel", "install_protobuf"] }
[tasks.install_windows_deps.windows]
dependencies=["check_duckscript_installation", "check_visual_studio_installation", "check_vcpkg", "install_vcpkg_sqlite", "install_rust_vcpkg_cli"]
@ -97,14 +97,7 @@ dependencies=["install_targets", "install_windows_deps"]
[tasks.install_protobuf]
script = """
# Custom dart:
#brew tap dart-lang/dart
#brew install dart
#pub global activate protoc_plugin
#https://pub.dev/packages/protoc_plugin
dart pub global activate protoc_plugin
cargo install --version 2.22.1 protobuf-codegen
"""