Przeglądaj źródła

ci: disable dart pb gen

appflowy 3 lat temu
rodzic
commit
68b0730dda

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