feat: add flowy_clean command to remove the build.rs cache

This commit is contained in:
appflowy
2022-02-15 22:35:52 +08:00
parent 0933935071
commit bf3a0b6e5b
11 changed files with 93 additions and 24 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");
// dart_event::gen(crate_name);
}