chore(vscode): unify Launch/Follow/Stop Backend tasks
This commit is contained in:
Vendored
+20
-24
@@ -1,29 +1,26 @@
|
||||
{
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "Start Maestro",
|
||||
"label": "Launch Backend",
|
||||
"type": "shell",
|
||||
"command": "docker compose -f docker-compose.debug.yaml up -d --force-recreate",
|
||||
"isBackground": true,
|
||||
"problemMatcher": [
|
||||
{
|
||||
"pattern": {
|
||||
"regexp": "^.*$"
|
||||
},
|
||||
"background": {
|
||||
"activeOnStart": true,
|
||||
"beginsPattern": "Building",
|
||||
"endsPattern": " ✔ Container"
|
||||
}
|
||||
}
|
||||
],
|
||||
"presentation": {
|
||||
"reveal": "always",
|
||||
"panel": "shared"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "Stop Maestro",
|
||||
"label": "Follow Backend Logs",
|
||||
"type": "shell",
|
||||
"command": "docker compose -f docker-compose.debug.yaml logs -f",
|
||||
"presentation": {
|
||||
"reveal": "always",
|
||||
"panel": "shared"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "Stop Backend",
|
||||
"type": "shell",
|
||||
"command": "docker compose -f docker-compose.debug.yaml down",
|
||||
"presentation": {
|
||||
@@ -32,41 +29,40 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "Build",
|
||||
"dependsOn": [
|
||||
"Build Server",
|
||||
"Build Frontend"
|
||||
],
|
||||
"dependsOrder": "parallel",
|
||||
"group": "build",
|
||||
"label": "Build"
|
||||
"group": "build"
|
||||
},
|
||||
{
|
||||
"label": "Build Server",
|
||||
"hide": true,
|
||||
"command": [
|
||||
"go"
|
||||
],
|
||||
"args": [
|
||||
"build"
|
||||
],
|
||||
"hide": true,
|
||||
"label": "Build Server",
|
||||
"options": {
|
||||
"cwd": "${workspaceFolder}/src"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "Build Frontend",
|
||||
"hide": true,
|
||||
"command": [
|
||||
"bun",
|
||||
"bun"
|
||||
],
|
||||
"args": [
|
||||
"run",
|
||||
"build"
|
||||
],
|
||||
"hide": true,
|
||||
"label": "Build Frontend",
|
||||
"options": {
|
||||
"cwd": "${workspaceFolder}/src/frontend"
|
||||
}
|
||||
}
|
||||
],
|
||||
"version": "2.0.0"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user