{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "2.0.0",
    "tasks": [
        {
            "label": "Build",
            "command": "docker-compose",
            "args": [
                "run",
                "builder",
            ],
            "type": "shell",
            "problemMatcher": [],
            "group": {
                "kind": "build",
                "isDefault": true
            },
            "dependsOn": [
                "Close VirtualBox",
                "Clean"
            ]
        },
        {
            "label": "Build (Builder)",
            "command": "docker-compose",
            "args": [
                "build",
                "builder"
            ],
            "type": "shell"
        },
        {
            "label": "Clean",
            "command": "docker-compose",
            "args": [
                "down",
                "--remove-orphans"
            ],
            "type": "shell"
        },
        {
            "label": "Close VirtualBox",
            "command": "./virtualbox-wrapper.ps1",
            "args": [
                "-Command", 
                "down"
            ],
            "type": "shell"
        }
    ]
}