From e229b84232f5e6a078f3d52edd1918926c0278a8 Mon Sep 17 00:00:00 2001 From: Alberto Ponces Date: Tue, 9 Aug 2022 01:26:13 +0100 Subject: [PATCH] fix: update tasks.json --- .vscode/tasks.json | 42 ++++++++++++++++++++++++++++++++++++------ 1 file changed, 36 insertions(+), 6 deletions(-) diff --git a/.vscode/tasks.json b/.vscode/tasks.json index bf5a18f6..490ed99c 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -1,6 +1,12 @@ { "version": "2.0.0", "tasks": [ + { + "label": "Build (Serializer)", + "type": "shell", + "command": "flutter packages pub run build_runner build --delete-conflicting-outputs", + "problemMatcher": [] + }, { "label": "Build (Android)", "type": "shell", @@ -18,26 +24,50 @@ "problemMatcher": [] }, { - "label": "Clean", + "label": "Clean (Flutter)", "type": "shell", "command": "flutter clean && flutter pub get", "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", "dependsOn": [ - "Clean", + "Build (Serializer)", "Build (Android)" ], "problemMatcher": [] }, { - "label": "Clean & Install (Android)", + "label": "Clean all", "dependsOrder": "sequence", "dependsOn": [ - "Clean", - "Build (Android)", + "Clean (Flutter)", + "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)", ], "problemMatcher": []