2022-08-06 15:04:18 +02:00
|
|
|
{
|
|
|
|
"version": "2.0.0",
|
|
|
|
"tasks": [
|
|
|
|
{
|
|
|
|
"label": "Build (Android)",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "flutter build apk",
|
|
|
|
"problemMatcher": [],
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Install (Android)",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "adb install build\\app\\outputs\\flutter-apk\\app-release.apk",
|
|
|
|
"problemMatcher": []
|
|
|
|
},
|
|
|
|
{
|
2022-08-07 00:41:34 +02:00
|
|
|
"label": "Clean",
|
2022-08-06 15:04:18 +02:00
|
|
|
"type": "shell",
|
|
|
|
"command": "flutter clean && flutter pub get",
|
|
|
|
"problemMatcher": []
|
|
|
|
},
|
|
|
|
{
|
2022-08-06 23:49:44 +02:00
|
|
|
"label": "Clean & Build (Android)",
|
2022-08-06 15:04:18 +02:00
|
|
|
"dependsOrder": "sequence",
|
|
|
|
"dependsOn": [
|
2022-08-07 00:41:34 +02:00
|
|
|
"Clean",
|
2022-08-06 15:04:18 +02:00
|
|
|
"Build (Android)"
|
|
|
|
],
|
|
|
|
"problemMatcher": []
|
|
|
|
},
|
|
|
|
{
|
2022-08-06 23:49:44 +02:00
|
|
|
"label": "Clean & Install (Android)",
|
2022-08-06 15:04:18 +02:00
|
|
|
"dependsOrder": "sequence",
|
|
|
|
"dependsOn": [
|
2022-08-07 00:41:34 +02:00
|
|
|
"Clean",
|
2022-08-06 23:49:44 +02:00
|
|
|
"Build (Android)",
|
2022-08-06 15:04:18 +02:00
|
|
|
"Install (Android)",
|
|
|
|
],
|
|
|
|
"problemMatcher": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Build & Install (Android)",
|
|
|
|
"dependsOrder": "sequence",
|
|
|
|
"dependsOn": [
|
|
|
|
"Build (Android)",
|
|
|
|
"Install (Android)"
|
|
|
|
],
|
|
|
|
"problemMatcher": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Show upgradable dependencies",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "flutter pub outdated",
|
|
|
|
"problemMatcher": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Validate translations",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "flutter pub run flutter_i18n diff en.json pt.json",
|
|
|
|
"problemMatcher": []
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|