Skip to content

Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.

ci: disable dart pb gen

appflowy68b0730ddaae
diff --git a/frontend/scripts/makefile/protobuf.toml b/frontend/scripts/makefile/protobuf.toml
index f67774fccf..5dc076a013 100644
--- a/frontend/scripts/makefile/protobuf.toml
+++ b/frontend/scripts/makefile/protobuf.toml
@@ -26,6 +26,8 @@ script = """
echo "Install protoc_plugin (Dart)"
dart pub global activate protoc_plugin
export PATH="$HOME/.pub-cache/bin:$PATH"
+
+cargo install --version 2.22.1 protobuf-codegen
"""
script_runner = "@shell"
diff --git a/shared-lib/lib-infra/src/pb_gen.rs b/shared-lib/lib-infra/src/pb_gen.rs
index b61bbb66ab..b63c6a0067 100644
--- a/shared-lib/lib-infra/src/pb_gen.rs
+++ b/shared-lib/lib-infra/src/pb_gen.rs
@@ -21,8 +21,8 @@ pub fn gen(name: &str, root: &str) {
}
}
- #[cfg(feature = "dart")]
- gen_pb_for_dart(name, root, &paths, &file_names);
+ // #[cfg(feature = "dart")]
+ // gen_pb_for_dart(name, root, &paths, &file_names);
protoc_rust::Codegen::new()
.out_dir("./src/protobuf/model")