chore: write dart_event file

This commit is contained in:
appflowy
2022-02-16 10:00:31 +08:00
parent bf3a0b6e5b
commit cd013529d4
29 changed files with 177 additions and 102 deletions

View File

@ -1,5 +1,7 @@
use lib_infra::code_gen;
fn main() {
code_gen::protobuf_file::gen(env!("CARGO_PKG_NAME"), "./src/protobuf/proto");
let crate_name = env!("CARGO_PKG_NAME");
code_gen::protobuf_file::gen(crate_name, "./src/protobuf/proto");
code_gen::dart_event::gen(crate_name);
}