AppFlowy/frontend/rust-lib/flowy-database2/build.rs
Nathan.fooo fda70ff560
feat: folder web (#4580)
* 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
2024-02-04 05:50:23 +08:00

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);
}
}