AppFlowy/frontend/rust-lib/flowy-user/build.rs

10 lines
204 B
Rust
Raw Normal View History

2022-02-15 13:27:00 +00:00
use lib_infra::code_gen;
fn main() {
2022-02-16 02:00:31 +00:00
let crate_name = env!("CARGO_PKG_NAME");
code_gen::protobuf_file::gen(crate_name);
2022-03-05 09:52:25 +00:00
#[cfg(feature = "dart")]
2022-02-16 02:00:31 +00:00
code_gen::dart_event::gen(crate_name);
}