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.

chore: build flowy_sdk as static lib in macOS

appflowyce21c3207cbb
diff --git a/frontend/Makefile.toml b/frontend/Makefile.toml
index 9cfc352d56..fac2b4a7d7 100644
--- a/frontend/Makefile.toml
+++ b/frontend/Makefile.toml
@@ -25,8 +25,8 @@ CURRENT_APP_VERSION = "0.0.4"
FEATURES = "flutter"
PRODUCT_NAME = "AppFlowy"
#CRATE_TYPE: https://doc.rust-lang.org/reference/linkage.html
-CRATE_TYPE = "cdylib"
-SDK_EXT = "dylib"
+CRATE_TYPE = "staticlib"
+SDK_EXT = "a"
APP_ENVIRONMENT = "local"
FLUTTER_FLOWY_SDK_PATH="app_flowy/packages/flowy_sdk"
PROTOBUF_DERIVE_CACHE="../shared-lib/flowy-derive/src/derive_cache/derive_cache.rs"