chore: add codegen crate

This commit is contained in:
nathan
2022-12-01 14:56:20 +08:00
parent 30e7323cf7
commit 44f9254c0a
50 changed files with 151 additions and 145 deletions

View File

@ -1,9 +1,7 @@
use lib_infra::code_gen;
fn main() {
let crate_name = env!("CARGO_PKG_NAME");
code_gen::protobuf_file::gen(crate_name);
flowy_codegen::protobuf_file::gen(crate_name);
#[cfg(feature = "dart")]
code_gen::dart_event::gen(crate_name);
flowy_codegen::dart_event::gen(crate_name);
}