mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
refactor: separate proto file from src folder
This commit is contained in:
@ -1,2 +1,4 @@
|
||||
proto_crates = ["src/event_map.rs", "src/entities"]
|
||||
proto_output_dir = "resources/proto"
|
||||
protobuf_crate_path = "src/protobuf"
|
||||
event_files = ["src/event_map.rs"]
|
@ -2,7 +2,7 @@ use lib_infra::code_gen;
|
||||
|
||||
fn main() {
|
||||
let crate_name = env!("CARGO_PKG_NAME");
|
||||
code_gen::protobuf_file::gen(crate_name, "./src/protobuf/proto");
|
||||
code_gen::protobuf_file::gen(crate_name);
|
||||
|
||||
#[cfg(feature = "dart")]
|
||||
code_gen::dart_event::gen(crate_name);
|
||||
|
Reference in New Issue
Block a user