mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
[flutter]: support debug on linux-aarch64
This commit is contained in:
parent
8660ade554
commit
447766f9cb
@ -67,6 +67,7 @@ BUILD_FLAG = "debug"
|
||||
CRATE_TYPE = "cdylib"
|
||||
FLUTTER_OUTPUT_DIR = "Debug"
|
||||
SDK_EXT = "so"
|
||||
LINUX_ARCH = "x64"
|
||||
|
||||
[env.production-linux-x86]
|
||||
BUILD_FLAG = "release"
|
||||
@ -75,6 +76,16 @@ RUST_COMPILE_TARGET = "x86_64-unknown-linux-gnu"
|
||||
CRATE_TYPE = "cdylib"
|
||||
FLUTTER_OUTPUT_DIR = "Release"
|
||||
SDK_EXT = "so"
|
||||
LINUX_ARCH = "x64"
|
||||
|
||||
[env.development-linux-aarch64]
|
||||
TARGET_OS = "linux"
|
||||
RUST_COMPILE_TARGET = "aarch64-unknown-linux-gnu"
|
||||
BUILD_FLAG = "debug"
|
||||
CRATE_TYPE = "cdylib"
|
||||
FLUTTER_OUTPUT_DIR = "Debug"
|
||||
SDK_EXT = "so"
|
||||
LINUX_ARCH = "arm64"
|
||||
|
||||
[env.production-linux-aarch64]
|
||||
BUILD_FLAG = "release"
|
||||
@ -83,6 +94,7 @@ RUST_COMPILE_TARGET = "aarch64-unknown-linux-gnu"
|
||||
CRATE_TYPE = "cdylib"
|
||||
FLUTTER_OUTPUT_DIR = "Release"
|
||||
SDK_EXT = "so"
|
||||
LINUX_ARCH = "arm64"
|
||||
|
||||
[tasks.echo_env]
|
||||
script = [
|
||||
|
@ -21,3 +21,10 @@ cargo make --profile development-mac flowy-sdk-dev
|
||||
|
||||
# for window
|
||||
#cargo make --profile development-windows flowy-sdk-dev
|
||||
|
||||
|
||||
# for linux aarch64
|
||||
#cargo make --profile development-linux-x86 flowy-sdk-dev
|
||||
|
||||
# for linux aarch64
|
||||
#cargo make --profile development-linux-aarch64 flowy-sdk-dev
|
||||
|
@ -50,7 +50,7 @@ script = [
|
||||
mkdir -p ${output_path}
|
||||
|
||||
product=${PRODUCT_NAME}
|
||||
cp -R ${CARGO_MAKE_WORKSPACE_WORKING_DIRECTORY}/app_flowy/build/${TARGET_OS}/x64/${BUILD_FLAG}/bundle \
|
||||
cp -R ${CARGO_MAKE_WORKSPACE_WORKING_DIRECTORY}/app_flowy/build/${TARGET_OS}/${LINUX_ARCH}/${BUILD_FLAG}/bundle \
|
||||
${output_path}/${product}
|
||||
""",
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user