refactor: separate proto file from src folder

This commit is contained in:
appflowy
2022-06-15 19:40:18 +08:00
parent b4a5d007be
commit 4b71c474e4
86 changed files with 258 additions and 224 deletions

View File

@ -1,3 +1,5 @@
proto_crates = ["src/errors.rs",]
proto_output_dir = "resources/proto"
protobuf_crate_path = "src/protobuf"
event_files = []

View File

@ -1,5 +1,5 @@
use lib_infra::code_gen;
fn main() {
code_gen::protobuf_file::gen("flowy-error", "./src/protobuf/proto");
code_gen::protobuf_file::gen("flowy-error");
}