update build script: disable dart isolate on test

This commit is contained in:
appflowy 2021-08-18 16:02:47 +08:00
parent bfb80d1184
commit 27681fda07
3 changed files with 5 additions and 3 deletions

View File

@ -28,9 +28,10 @@ serde_json = {version = "1.0"}
flowy-dispatch = {path = "../flowy-dispatch"}
flowy-sdk = {path = "../flowy-sdk"}
flowy-derive = {path = "../flowy-derive"}
flowy-observable = {path = "../flowy-observable", features = ["dart"]}
flowy-observable = {path = "../flowy-observable"}
#[features]
[features]
observable = ["flowy-observable/dart"]
#use_serde = ["bincode"]
#use_protobuf= ["protobuf"]

View File

@ -17,6 +17,7 @@ flowy-document = { path = "../flowy-document" }
tracing = { version = "0.1" }
log = "0.4.14"
futures-core = { version = "0.3", default-features = false }
color-eyre = { version = "0.5", default-features = false }
[dev-dependencies]
serde = { version = "1.0", features = ["derive"] }

View File

@ -25,7 +25,7 @@ description = "Build desktop targets."
script = [
"""
cd rust-lib/
cargo build --package=dart-ffi --target ${DESKTOP_TARGET}
cargo build --package=dart-ffi --target ${DESKTOP_TARGET} --features="observable"
cd ../
""",
]