From c93116ac755b7001390440a2cf03606d9513d3c8 Mon Sep 17 00:00:00 2001 From: Axel Rindle Date: Sat, 14 Sep 2024 18:59:50 +0200 Subject: [PATCH] chore: update tasks.json --- .vscode/tasks.json | 33 +++++++++++++++++++++++++++++++-- 1 file changed, 31 insertions(+), 2 deletions(-) diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 9f63979..bef8c6b 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -126,6 +126,20 @@ } } }, + { + "label": "Migrate", + "type": "shell", + "command": "./artisan migrate", + "osx": { + "command": "php artisan migrate" + }, + "problemMatcher": [], + "group": "none", + "presentation": { + "reveal": "always", + "panel": "shared", + } + }, { "label": "Reset database", "type": "shell", @@ -138,7 +152,8 @@ "presentation": { "reveal": "always", "panel": "shared", - } + "focus": true, + }, }, { "label": "Clear Cache", @@ -154,5 +169,19 @@ "panel": "shared", } }, - ] + { + "label": "Gen API Client", + "type": "shell", + "command": "bash gen-api-client.sh", + "options": { + "cwd": "${workspaceFolder}/frontend" + }, + "problemMatcher": [], + "group": "none", + "presentation": { + "reveal": "always", + "panel": "shared", + }, + }, + ], }