{
    // See https://go.microsoft.com/fwlink/?LinkId=733558
    // for the documentation about the tasks.json format
    "version": "2.0.0",
    "tasks": [
        {
            "label": "build",
            "type": "shell",
            "options": {
                "cwd": "${workspaceFolder}/addons/godot_xterm/native",
            },
            "command": "nix-shell",
            "args": [
                "-I",
                "nixpkgs=~/nixpkgs",
                "-p",
                "scons",
                "--run",
                "./build.sh"
            ],
            "problemMatcher": []
        }
    ]
}