2023-04-28 14:08:53 +08:00
|
|
|
fn main() {
|
|
|
|
#[cfg(feature = "dart")]
|
2024-01-30 05:36:27 +08:00
|
|
|
{
|
2024-03-07 12:50:28 +08:00
|
|
|
flowy_codegen::protobuf_file::dart_gen(env!("CARGO_PKG_NAME"));
|
2025-05-14 10:26:59 +08:00
|
|
|
flowy_codegen::dart_event::r#gen(env!("CARGO_PKG_NAME"));
|
2024-01-30 05:36:27 +08:00
|
|
|
}
|
2023-04-28 14:08:53 +08:00
|
|
|
|
2025-03-24 12:03:42 +08:00
|
|
|
// #[cfg(feature = "ts")]
|
|
|
|
// {
|
|
|
|
// flowy_codegen::ts_event::gen(env!("CARGO_PKG_NAME"), flowy_codegen::Project::Tauri);
|
|
|
|
// flowy_codegen::protobuf_file::ts_gen(
|
|
|
|
// env!("CARGO_PKG_NAME"),
|
|
|
|
// env!("CARGO_PKG_NAME"),
|
|
|
|
// flowy_codegen::Project::Tauri,
|
|
|
|
// );
|
|
|
|
// flowy_codegen::ts_event::gen(env!("CARGO_PKG_NAME"), flowy_codegen::Project::TauriApp);
|
|
|
|
// flowy_codegen::protobuf_file::ts_gen(
|
|
|
|
// env!("CARGO_PKG_NAME"),
|
|
|
|
// env!("CARGO_PKG_NAME"),
|
|
|
|
// flowy_codegen::Project::TauriApp,
|
|
|
|
// );
|
|
|
|
// }
|
2023-04-28 14:08:53 +08:00
|
|
|
}
|