{
  "version": "2.0.0",
  "tasks": [
    {
      "label": "WorkTracker: Docker Debug Up",
      "type": "shell",
      "command": "docker",
      "args": [
        "compose",
        "-f",
        "docker-compose.yml",
        "-f",
        "docker-compose.override.yml",
        "-f",
        ".vscode/docker-compose.debug.yml",
        "up",
        "-d",
        "--build",
        "worktracker"
      ],
      "options": {
        "cwd": "${workspaceFolder}"
      },
      "problemMatcher": []
    },
    {
      "label": "WorkTracker: Docker Debug Build",
      "type": "shell",
      "command": "docker",
      "args": [
        "exec",
        "worktracker-dev",
        "dotnet",
        "build",
        "WorkTracker.csproj",
        "-c",
        "Debug"
      ],
      "options": {
        "cwd": "${workspaceFolder}"
      },
      "problemMatcher": "$msCompile"
    },
    {
      "label": "WorkTracker: Docker Debug Prepare",
      "dependsOrder": "sequence",
      "dependsOn": [
        "WorkTracker: Docker Debug Up",
        "WorkTracker: Docker Debug Build"
      ],
      "problemMatcher": []
    },
    {
      "label": "WorkTracker: Docker Debug Down",
      "type": "shell",
      "command": "docker",
      "args": [
        "compose",
        "-f",
        "docker-compose.yml",
        "-f",
        "docker-compose.override.yml",
        "-f",
        ".vscode/docker-compose.debug.yml",
        "down"
      ],
      "options": {
        "cwd": "${workspaceFolder}"
      },
      "problemMatcher": []
    },
    {
      "label": "WorkTracker: Docker Playwright Tests",
      "type": "shell",
      "command": "docker",
      "args": [
        "compose",
        "-f",
        "docker-compose.yml",
        "-f",
        "docker-compose.tests.yml",
        "up",
        "--build",
        "--abort-on-container-exit",
        "--exit-code-from",
        "playwright",
        "playwright"
      ],
      "options": {
        "cwd": "${workspaceFolder}"
      },
      "problemMatcher": []
    },
    {
      "label": "WorkTracker: Docker Playwright Down",
      "type": "shell",
      "command": "docker",
      "args": [
        "compose",
        "-f",
        "docker-compose.yml",
        "-f",
        "docker-compose.tests.yml",
        "down",
        "--volumes"
      ],
      "options": {
        "cwd": "${workspaceFolder}"
      },
      "problemMatcher": []
    }
  ]
}