mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
fda70ff560
* chore: folder wasm * chore: folder wasm * chore: resolve deps * chore: fix trait * chore: try localset * chore: fix * chore: fix * chore: fix * chore: async init sdk * chore: fix test * chore: fix test
15 lines
404 B
Rust
15 lines
404 B
Rust
fn main() {
|
|
let crate_name = env!("CARGO_PKG_NAME");
|
|
#[cfg(feature = "dart")]
|
|
{
|
|
flowy_codegen::protobuf_file::dart_gen(crate_name);
|
|
flowy_codegen::dart_event::gen(crate_name);
|
|
}
|
|
|
|
#[cfg(feature = "ts")]
|
|
{
|
|
flowy_codegen::ts_event::gen(crate_name, flowy_codegen::Project::Tauri);
|
|
flowy_codegen::protobuf_file::ts_gen(crate_name, crate_name, flowy_codegen::Project::Tauri);
|
|
}
|
|
}
|