ci: disable dart pb gen

This commit is contained in:
appflowy 2022-02-09 00:47:43 +08:00
parent 1ab3f42477
commit 68b0730dda
2 changed files with 4 additions and 2 deletions

View file

@ -26,6 +26,8 @@ script = """
echo "Install protoc_plugin (Dart)" echo "Install protoc_plugin (Dart)"
dart pub global activate protoc_plugin dart pub global activate protoc_plugin
export PATH="$HOME/.pub-cache/bin:$PATH" export PATH="$HOME/.pub-cache/bin:$PATH"
cargo install --version 2.22.1 protobuf-codegen
""" """
script_runner = "@shell" script_runner = "@shell"

View file

@ -21,8 +21,8 @@ pub fn gen(name: &str, root: &str) {
} }
} }
#[cfg(feature = "dart")] // #[cfg(feature = "dart")]
gen_pb_for_dart(name, root, &paths, &file_names); // gen_pb_for_dart(name, root, &paths, &file_names);
protoc_rust::Codegen::new() protoc_rust::Codegen::new()
.out_dir("./src/protobuf/model") .out_dir("./src/protobuf/model")