|
@@ -50,6 +50,40 @@
|
|
|
// "$rustc"
|
|
|
// ],
|
|
|
},
|
|
|
+ {
|
|
|
+ "label": "Code Gen",
|
|
|
+ "type": "shell",
|
|
|
+ "dependsOn": [
|
|
|
+ "Flutter Pub",
|
|
|
+ "Flutter Package Get",
|
|
|
+ "Generate Language Files",
|
|
|
+ "Generate Freezed Files"
|
|
|
+ ],
|
|
|
+ "group": {
|
|
|
+ "kind": "build",
|
|
|
+ "isDefault": true,
|
|
|
+ },
|
|
|
+ "dependsOrder": "sequence",
|
|
|
+ "presentation": {
|
|
|
+ "reveal": "always",
|
|
|
+ "panel": "new"
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "label": "Flutter Pub",
|
|
|
+ "type": "shell",
|
|
|
+ "command": "flutter pub get",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "label": "Flutter Package Get",
|
|
|
+ "type": "shell",
|
|
|
+ "command": "flutter packages pub get",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "label": "Generate Freezed Files",
|
|
|
+ "type": "shell",
|
|
|
+ "command": "flutter pub run build_runner build --delete-conflicting-outputs",
|
|
|
+ },
|
|
|
{
|
|
|
"label": "Generate Language Files",
|
|
|
"type": "shell",
|
|
@@ -87,10 +121,6 @@
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
- "group": {
|
|
|
- "kind": "build",
|
|
|
- "isDefault": true,
|
|
|
- },
|
|
|
"options": {
|
|
|
"cwd": "${workspaceFolder}/../"
|
|
|
},
|