chore(vscode): add one-click release build tasks for apk and appbundle
This commit is contained in:
parent
60319e1d39
commit
ed992ae14d
1 changed files with 31 additions and 0 deletions
31
.vscode/tasks.json
vendored
Normal file
31
.vscode/tasks.json
vendored
Normal file
|
|
@ -0,0 +1,31 @@
|
||||||
|
{
|
||||||
|
"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": "build",
|
||||||
|
"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": []
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
Loading…
Reference in a new issue