fix: update tasks.json

This commit is contained in:
Alberto Ponces 2022-08-09 01:26:13 +01:00
parent 7c7a7e0355
commit e229b84232

42
.vscode/tasks.json vendored
View File

@ -1,6 +1,12 @@
{ {
"version": "2.0.0", "version": "2.0.0",
"tasks": [ "tasks": [
{
"label": "Build (Serializer)",
"type": "shell",
"command": "flutter packages pub run build_runner build --delete-conflicting-outputs",
"problemMatcher": []
},
{ {
"label": "Build (Android)", "label": "Build (Android)",
"type": "shell", "type": "shell",
@ -18,26 +24,50 @@
"problemMatcher": [] "problemMatcher": []
}, },
{ {
"label": "Clean", "label": "Clean (Flutter)",
"type": "shell", "type": "shell",
"command": "flutter clean && flutter pub get", "command": "flutter clean && flutter pub get",
"problemMatcher": [] "problemMatcher": []
}, },
{ {
"label": "Clean & Build (Android)", "label": "Clean (Serializer)",
"type": "shell",
"command": "flutter packages pub run build_runner clean",
"problemMatcher": []
},
{
"label": "Build all (Android)",
"dependsOrder": "sequence", "dependsOrder": "sequence",
"dependsOn": [ "dependsOn": [
"Clean", "Build (Serializer)",
"Build (Android)" "Build (Android)"
], ],
"problemMatcher": [] "problemMatcher": []
}, },
{ {
"label": "Clean & Install (Android)", "label": "Clean all",
"dependsOrder": "sequence", "dependsOrder": "sequence",
"dependsOn": [ "dependsOn": [
"Clean", "Clean (Flutter)",
"Build (Android)", "Clean (Serializer)"
],
"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)",
"Install (Android)", "Install (Android)",
], ],
"problemMatcher": [] "problemMatcher": []