vbytes-lan-registration/.vscode/tasks.json
2026-02-19 10:54:32 +01:00

107 lines
2.4 KiB
JSON

{
"version": "2.0.0",
"tasks": [
{
"label": "Start: Postgres",
"type": "shell",
"command": "docker compose up -d",
"options": {
"cwd": "${workspaceFolder}"
},
"group": "build",
"presentation": {
"reveal": "always",
"panel": "dedicated",
"group": "dev"
},
"problemMatcher": []
},
{
"label": "Start: Registration.API",
"type": "shell",
"command": "dotnet run --project src/Registration/Registration.API --launch-profile https",
"options": {
"cwd": "${workspaceFolder}"
},
"isBackground": true,
"presentation": {
"reveal": "always",
"panel": "dedicated",
"group": "dev"
},
"problemMatcher": {
"pattern": {
"regexp": "^$"
},
"background": {
"activeOnStart": true,
"beginsPattern": "Building\\.\\.\\.",
"endsPattern": "Now listening on:"
}
}
},
{
"label": "Start: AuthAPI",
"type": "shell",
"command": "dotnet run --project src/Auth/AuthAPI",
"options": {
"cwd": "${workspaceFolder}"
},
"isBackground": true,
"presentation": {
"reveal": "always",
"panel": "dedicated",
"group": "dev"
},
"problemMatcher": {
"pattern": {
"regexp": "^$"
},
"background": {
"activeOnStart": true,
"beginsPattern": "Building\\.\\.\\.",
"endsPattern": "Now listening on:"
}
}
},
{
"label": "Start: Frontend",
"type": "shell",
"command": "npm run dev",
"options": {
"cwd": "${workspaceFolder}/src/Web/lan-frontend"
},
"isBackground": true,
"presentation": {
"reveal": "always",
"panel": "dedicated",
"group": "dev"
},
"problemMatcher": {
"pattern": {
"regexp": "^$"
},
"background": {
"activeOnStart": true,
"beginsPattern": ".*",
"endsPattern": "Local:.*localhost"
}
}
},
{
"label": "Start: All",
"dependsOn": [
"Start: Postgres",
"Start: Registration.API",
"Start: AuthAPI",
"Start: Frontend"
],
"dependsOrder": "sequence",
"group": {
"kind": "build",
"isDefault": true
},
"problemMatcher": []
}
]
}