mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
19 lines
345 B
Rust
19 lines
345 B
Rust
|
use flowy_codegen::Project;
|
||
|
|
||
|
fn main() {
|
||
|
let crate_name = env!("CARGO_PKG_NAME");
|
||
|
|
||
|
flowy_codegen::protobuf_file::ts_gen(
|
||
|
crate_name,
|
||
|
Project::Web {
|
||
|
relative_path: "../../../".to_string(),
|
||
|
},
|
||
|
);
|
||
|
flowy_codegen::ts_event::gen(
|
||
|
crate_name,
|
||
|
Project::Web {
|
||
|
relative_path: "../../../".to_string(),
|
||
|
},
|
||
|
);
|
||
|
}
|