소스 검색

ci: disable dart pb gen

appflowy 3 년 전
부모
커밋
68b0730dda
2개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 0
      frontend/scripts/makefile/protobuf.toml
  2. 2 2
      shared-lib/lib-infra/src/pb_gen.rs

+ 2 - 0
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"
 

+ 2 - 2
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")