100 lines
No EOL
2.4 KiB
JSON
100 lines
No EOL
2.4 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "Flutter Build APK (Release)",
|
|
"type": "shell",
|
|
"command": "flutter",
|
|
"args": [
|
|
"build",
|
|
"apk",
|
|
"--release",
|
|
"--dart-define-from-file=.env/flutter_defines.json"
|
|
],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
},
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Flutter Build App Bundle (Release)",
|
|
"type": "shell",
|
|
"command": "flutter",
|
|
"args": [
|
|
"build",
|
|
"appbundle",
|
|
"--release",
|
|
"--dart-define-from-file=.env/flutter_defines.json"
|
|
],
|
|
"group": "build",
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Flutter Build iOS IPA (Release)",
|
|
"type": "shell",
|
|
"command": "flutter",
|
|
"args": [
|
|
"build",
|
|
"ipa",
|
|
"--release",
|
|
"--dart-define-from-file=.env/flutter_defines.json"
|
|
],
|
|
"group": "build",
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Flutter Build All Release (Parallel)",
|
|
"dependsOn": [
|
|
"Flutter Build APK (Release)",
|
|
"Flutter Build App Bundle (Release)",
|
|
"Flutter Build iOS IPA (Release)"
|
|
],
|
|
"dependsOrder": "parallel",
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Package Release Artifacts (Explicit Label)",
|
|
"type": "shell",
|
|
"command": "bash",
|
|
"args": [
|
|
"tool/package_release.sh",
|
|
"${input:releaseVersion}"
|
|
],
|
|
"group": "build",
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Build Android + Package Release (Prompt)",
|
|
"type": "shell",
|
|
"command": "bash",
|
|
"args": [
|
|
"-lc",
|
|
"flutter build apk --release --dart-define-from-file=.env/flutter_defines.json && flutter build appbundle --release --dart-define-from-file=.env/flutter_defines.json && bash tool/package_release.sh ${input:releaseVersion}"
|
|
],
|
|
"group": "build",
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Flutter Run Android (Supabase Debug)",
|
|
"type": "shell",
|
|
"command": "flutter",
|
|
"args": [
|
|
"run",
|
|
"-d",
|
|
"BM1S1B2416004987",
|
|
"--dart-define-from-file=.env/flutter_defines.json"
|
|
],
|
|
"group": "build",
|
|
"problemMatcher": []
|
|
}
|
|
],
|
|
"inputs": [
|
|
{
|
|
"id": "releaseVersion",
|
|
"type": "promptString",
|
|
"description": "Release label/version (for example: v3.0.1)",
|
|
"default": "v3.0.1"
|
|
}
|
|
]
|
|
} |