mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
feat: support building on Android (#3713)
* feat: support building on Android * chore: add CI for mobile platform
This commit is contained in:
@ -52,7 +52,16 @@ dependencies = ["appflowy-core-dev-ios"]
|
||||
run_task = { name = [
|
||||
"code_generation",
|
||||
"set-app-version",
|
||||
"flutter-build",
|
||||
"flutter-build-ios",
|
||||
] }
|
||||
script_runner = "@shell"
|
||||
|
||||
[tasks.appflowy-android-dev]
|
||||
dependencies = ["appflowy-core-dev-android"]
|
||||
run_task = { name = [
|
||||
"code_generation",
|
||||
"set-app-version",
|
||||
"flutter-build-android",
|
||||
] }
|
||||
script_runner = "@shell"
|
||||
|
||||
@ -187,6 +196,22 @@ script = ["""
|
||||
"""]
|
||||
script_runner = "@shell"
|
||||
|
||||
[tasks.flutter-build-ios]
|
||||
script = ["""
|
||||
cd appflowy_flutter/
|
||||
flutter pub get
|
||||
flutter build ipa --verbose
|
||||
"""]
|
||||
script_runner = "@shell"
|
||||
|
||||
[tasks.flutter-build-android]
|
||||
script = ["""
|
||||
cd appflowy_flutter/
|
||||
flutter pub get
|
||||
flutter build apk --split-per-abi --verbose
|
||||
"""]
|
||||
script_runner = "@shell"
|
||||
|
||||
[tasks.flutter-build.windows]
|
||||
script = ["""
|
||||
cd appflowy_flutter
|
||||
|
Reference in New Issue
Block a user