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": [
|
"tasks": [
|
||||||
{
|
{
|
||||||
"label": "Start Maestro",
|
"label": "Launch Backend",
|
||||||
"type": "shell",
|
"type": "shell",
|
||||||
"command": "docker compose -f docker-compose.debug.yaml up -d --force-recreate",
|
"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": {
|
"presentation": {
|
||||||
"reveal": "always",
|
"reveal": "always",
|
||||||
"panel": "shared"
|
"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",
|
"type": "shell",
|
||||||
"command": "docker compose -f docker-compose.debug.yaml down",
|
"command": "docker compose -f docker-compose.debug.yaml down",
|
||||||
"presentation": {
|
"presentation": {
|
||||||
@@ -32,41 +29,40 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
"label": "Build",
|
||||||
"dependsOn": [
|
"dependsOn": [
|
||||||
"Build Server",
|
"Build Server",
|
||||||
"Build Frontend"
|
"Build Frontend"
|
||||||
],
|
],
|
||||||
"dependsOrder": "parallel",
|
"dependsOrder": "parallel",
|
||||||
"group": "build",
|
"group": "build"
|
||||||
"label": "Build"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
"label": "Build Server",
|
||||||
|
"hide": true,
|
||||||
"command": [
|
"command": [
|
||||||
"go"
|
"go"
|
||||||
],
|
],
|
||||||
"args": [
|
"args": [
|
||||||
"build"
|
"build"
|
||||||
],
|
],
|
||||||
"hide": true,
|
|
||||||
"label": "Build Server",
|
|
||||||
"options": {
|
"options": {
|
||||||
"cwd": "${workspaceFolder}/src"
|
"cwd": "${workspaceFolder}/src"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
"label": "Build Frontend",
|
||||||
|
"hide": true,
|
||||||
"command": [
|
"command": [
|
||||||
"bun",
|
"bun"
|
||||||
],
|
],
|
||||||
"args": [
|
"args": [
|
||||||
"run",
|
"run",
|
||||||
"build"
|
"build"
|
||||||
],
|
],
|
||||||
"hide": true,
|
|
||||||
"label": "Build Frontend",
|
|
||||||
"options": {
|
"options": {
|
||||||
"cwd": "${workspaceFolder}/src/frontend"
|
"cwd": "${workspaceFolder}/src/frontend"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
]
|
||||||
"version": "2.0.0"
|
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user