chore: bump client api (#4819)

* chore: bump client api

* chore: bump client api

* chore: update ci

* chore: update client api

* chore: ci config

* chore: bump client api

* chore: bump client api

* chore: bump client api
This commit is contained in:
Nathan.fooo
2024-03-07 12:50:28 +08:00
committed by GitHub
parent 780f08dd28
commit 3d8ff062b5
17 changed files with 151 additions and 112 deletions

View File

@ -1,14 +1,17 @@
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);
flowy_codegen::protobuf_file::dart_gen(env!("CARGO_PKG_NAME"));
flowy_codegen::dart_event::gen(env!("CARGO_PKG_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);
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,
);
}
}