2022-02-08 06:36:59 +00:00
|
|
|
fn main() {
|
2024-01-29 21:36:27 +00:00
|
|
|
#[cfg(feature = "dart")]
|
|
|
|
flowy_codegen::protobuf_file::dart_gen(env!("CARGO_PKG_NAME"));
|
|
|
|
|
|
|
|
#[cfg(feature = "tauri_ts")]
|
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
|
|
|
|
|
|
|
#[cfg(feature = "web_ts")]
|
|
|
|
flowy_codegen::protobuf_file::ts_gen(
|
|
|
|
env!("CARGO_PKG_NAME"),
|
2024-02-03 21:50:23 +00:00
|
|
|
"error",
|
2024-01-29 21:36:27 +00:00
|
|
|
flowy_codegen::Project::Web {
|
|
|
|
relative_path: "../../".to_string(),
|
|
|
|
},
|
|
|
|
);
|
2022-02-08 06:36:59 +00:00
|
|
|
}
|