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.

[flutter]: disable copy-to-sys-tmpdir task

appflowya72dc5d2ec7d
diff --git a/scripts/makefile/desktop.toml b/scripts/makefile/desktop.toml
index 61052af7a8..a12f7b41e9 100644
--- a/scripts/makefile/desktop.toml
+++ b/scripts/makefile/desktop.toml
@@ -4,7 +4,7 @@
category = "Build"
condition = { channels = ["nightly"] }
dependencies = ["flowy-sdk-build"]
-run_task = { name = ["copy-to-sys-tmpdir"] }
+#run_task = { name = ["copy-to-sys-tmpdir"] }
[tasks.flowy-sdk-build]
dependencies = ["echo_env"]
@@ -49,9 +49,9 @@ condition = { profiles = [ "development-mac" ], platforms = ["mac"] }
script = [
"""
# post the dylib target_path that use for flutter unit test
- target_path = set ${TMPDIR}/appflowy_client/lib${CARGO_MAKE_CRATE_FS_NAME}.dylib
+ target_path = set ${TMPDIR}/appflowy/lib${CARGO_MAKE_CRATE_FS_NAME}.${SDK_EXT}
rm ${target_path}
- cp ${CARGO_MAKE_WORKSPACE_WORKING_DIRECTORY}/rust-lib/target/${RUST_COMPILE_TARGET}/${BUILD_FLAG}/lib${CARGO_MAKE_CRATE_FS_NAME}.dylib ${target_path}
+ cp ${CARGO_MAKE_WORKSPACE_WORKING_DIRECTORY}/rust-lib/target/${RUST_COMPILE_TARGET}/${BUILD_FLAG}/lib${CARGO_MAKE_CRATE_FS_NAME}.${SDK_EXT} ${target_path}
""",
]
script_runner = "@duckscript"