2022-08-06 15:04:18 +02:00
|
|
|
{
|
|
|
|
"version": "2.0.0",
|
|
|
|
"tasks": [
|
2022-08-09 02:26:13 +02:00
|
|
|
{
|
2022-08-15 19:42:09 +02:00
|
|
|
"label": "Generate (Builder)",
|
2022-08-09 02:26:13 +02:00
|
|
|
"type": "shell",
|
|
|
|
"command": "flutter packages pub run build_runner build --delete-conflicting-outputs",
|
|
|
|
"problemMatcher": []
|
|
|
|
},
|
2022-08-06 15:04:18 +02:00
|
|
|
{
|
|
|
|
"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-09 02:26:13 +02:00
|
|
|
"label": "Clean (Flutter)",
|
2022-08-06 15:04:18 +02:00
|
|
|
"type": "shell",
|
|
|
|
"command": "flutter clean && flutter pub get",
|
|
|
|
"problemMatcher": []
|
|
|
|
},
|
|
|
|
{
|
2022-08-15 19:42:09 +02:00
|
|
|
"label": "Clean (Builder)",
|
2022-08-09 02:26:13 +02:00
|
|
|
"type": "shell",
|
|
|
|
"command": "flutter packages pub run build_runner clean",
|
|
|
|
"problemMatcher": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Build all (Android)",
|
2022-08-06 15:04:18 +02:00
|
|
|
"dependsOrder": "sequence",
|
|
|
|
"dependsOn": [
|
2022-08-15 19:42:09 +02:00
|
|
|
"Generate (Builder)",
|
2022-08-06 15:04:18 +02:00
|
|
|
"Build (Android)"
|
|
|
|
],
|
|
|
|
"problemMatcher": []
|
|
|
|
},
|
|
|
|
{
|
2022-08-09 02:26:13 +02:00
|
|
|
"label": "Clean all",
|
2022-08-06 15:04:18 +02:00
|
|
|
"dependsOrder": "sequence",
|
|
|
|
"dependsOn": [
|
2022-08-09 02:26:13 +02:00
|
|
|
"Clean (Flutter)",
|
2022-08-15 19:42:09 +02:00
|
|
|
"Clean (Builder)"
|
2022-08-09 02:26:13 +02:00
|
|
|
],
|
|
|
|
"problemMatcher": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Clean all & Build all (Android)",
|
|
|
|
"dependsOrder": "sequence",
|
|
|
|
"dependsOn": [
|
|
|
|
"Clean all",
|
|
|
|
"Build all (Android)"
|
|
|
|
],
|
|
|
|
"problemMatcher": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Clean all & Install (Android)",
|
|
|
|
"dependsOrder": "sequence",
|
|
|
|
"dependsOn": [
|
|
|
|
"Clean all",
|
|
|
|
"Build all (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": []
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|