AppFlowy/frontend/rust-lib/flowy-grid/build.rs
2022-03-05 17:52:25 +08:00

10 lines
228 B
Rust

use lib_infra::code_gen;
fn main() {
let crate_name = env!("CARGO_PKG_NAME");
code_gen::protobuf_file::gen(crate_name, "./src/protobuf/proto");
#[cfg(feature = "dart")]
code_gen::dart_event::gen(crate_name);
}