chore: add codegen crate

This commit is contained in:
nathan
2022-12-01 14:56:20 +08:00
parent 30e7323cf7
commit 44f9254c0a
50 changed files with 151 additions and 145 deletions

View File

@ -37,6 +37,7 @@ http_sync = ["flowy-sdk/http_sync", "flowy-sdk/use_bunyan"]
openssl_vendored = ["flowy-sdk/openssl_vendored"]
[build-dependencies]
lib-infra = { path = "../../../shared-lib/lib-infra", features = [
flowy-codegen= { path = "../../../shared-lib/flowy-codegen", features = [
"dart",
] }
]}

View File

@ -1,5 +1,3 @@
use lib_infra::code_gen;
fn main() {
code_gen::protobuf_file::gen(env!("CARGO_PKG_NAME"));
flowy_codegen::protobuf_file::gen(env!("CARGO_PKG_NAME"));
}