mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
refactor: generate dart pb files with feature flag: dart
This commit is contained in:
@ -53,6 +53,7 @@ flowy-test = { path = "../flowy-test" }
|
||||
default = []
|
||||
http_server = []
|
||||
flowy_unit_test = ["lib-ot/flowy_unit_test", "flowy-sync/flowy_unit_test"]
|
||||
dart = ["lib-infra/dart", "flowy-folder/dart", "flowy-folder/dart",]
|
||||
|
||||
[build-dependencies]
|
||||
lib-infra = { path = "../../../shared-lib/lib-infra", features = ["gen_pb"] }
|
||||
lib-infra = { path = "../../../shared-lib/lib-infra", features = ["pb_gen"] }
|
@ -1,5 +1,5 @@
|
||||
use lib_infra::pb;
|
||||
use lib_infra::pb_gen;
|
||||
|
||||
fn main() {
|
||||
pb::gen("flowy-folder", "./src/protobuf/proto");
|
||||
pb_gen::gen("flowy-folder", "./src/protobuf/proto");
|
||||
}
|
||||
|
Reference in New Issue
Block a user