Skip to content

Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.

update build script: disable dart isolate on test

appflowy27681fda07c8
diff --git a/rust-lib/dart-ffi/Cargo.toml b/rust-lib/dart-ffi/Cargo.toml
index fc345df327..af0257627e 100644
--- a/rust-lib/dart-ffi/Cargo.toml
+++ b/rust-lib/dart-ffi/Cargo.toml
@@ -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"]
\ No newline at end of file
diff --git a/rust-lib/flowy-sdk/Cargo.toml b/rust-lib/flowy-sdk/Cargo.toml
index 66d16677ba..333cca27d9 100644
--- a/rust-lib/flowy-sdk/Cargo.toml
+++ b/rust-lib/flowy-sdk/Cargo.toml
@@ -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"] }
diff --git a/scripts/makefile/desktop.toml b/scripts/makefile/desktop.toml
index fb23e40580..09a56c6156 100644
--- a/scripts/makefile/desktop.toml
+++ b/scripts/makefile/desktop.toml
@@ -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 ../
""",
]