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: fix linux(aarch64) build

tsuiyuenhong27bd4bb24200
diff --git a/.gitignore b/.gitignore
index af41db7ae0..ab5f64486f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -20,4 +20,11 @@ node_modules
**/.DS_Store
**/src/protobuf
-**/resources/proto
\ No newline at end of file
+**/resources/proto
+
+frontend/.vscode/*
+!frontend/.vscode/settings.json
+!frontend/.vscode/tasks.json
+!frontend/.vscode/launch.json
+!frontend/.vscode/extensions.json
+!frontend/.vscode/*.code-snippets
\ No newline at end of file
diff --git a/frontend/.vscode/tasks.json b/frontend/.vscode/tasks.json
index 7ccb8ae3fe..769ecd9b28 100644
--- a/frontend/.vscode/tasks.json
+++ b/frontend/.vscode/tasks.json
@@ -49,7 +49,7 @@
"linux": {
"options": {
"env": {
- "FLOWY_DEV_ENV": "Linux-x86"
+ "FLOWY_DEV_ENV": "Linux"
}
}
},
diff --git a/frontend/scripts/build_sdk.sh b/frontend/scripts/build_sdk.sh
index 330bd22738..cfe6bdb316 100755
--- a/frontend/scripts/build_sdk.sh
+++ b/frontend/scripts/build_sdk.sh
@@ -16,12 +16,8 @@ rustup show
case "$FLOWY_DEV_ENV" in
-Linux-aarch64)
- cargo make --profile development-linux-aarch64 flowy-sdk-dev
- ;;
-
-Linux-x86)
- cargo make --profile development-linux-x86 flowy-sdk-dev
+Linux)
+ cargo make --profile "development-linux-$(uname -m)" flowy-sdk-dev
;;
macOS)