2023-10-02 07:12:24 +00:00
|
|
|
fn main() {
|
|
|
|
#[cfg(feature = "dart")]
|
2024-01-29 21:36:27 +00:00
|
|
|
{
|
|
|
|
flowy_codegen::protobuf_file::dart_gen(env!("CARGO_PKG_NAME"));
|
|
|
|
flowy_codegen::dart_event::gen(env!("CARGO_PKG_NAME"));
|
|
|
|
}
|
2023-10-02 07:12:24 +00:00
|
|
|
|
2024-01-29 21:36:27 +00:00
|
|
|
#[cfg(feature = "tauri_ts")]
|
|
|
|
{
|
|
|
|
flowy_codegen::ts_event::gen(env!("CARGO_PKG_NAME"), flowy_codegen::Project::Tauri);
|
2024-02-03 21:50:23 +00:00
|
|
|
flowy_codegen::protobuf_file::ts_gen(
|
|
|
|
env!("CARGO_PKG_NAME"),
|
|
|
|
env!("CARGO_PKG_NAME"),
|
|
|
|
flowy_codegen::Project::Tauri,
|
|
|
|
);
|
2024-01-29 21:36:27 +00:00
|
|
|
}
|
2023-10-02 07:12:24 +00:00
|
|
|
}
|