{
    // See https://go.microsoft.com/fwlink/?LinkId=733558
    // for the documentation about the tasks.json format
    "version": "2.0.0",
    "tasks": [
        {
            "label": "first_run",
            "type": "shell",
            "command": "rm -f ${workspaceFolder}/build/package/last_db_read"
        },
        {
            "label": "Initial Build",
            "type": "shell",
            "command": "rm -rf build && mkdir -p build && cd build && pwd && cmake ..",
            "problemMatcher": [
                "$gcc"
            ]
        },
        {
            "label": "Build",
            "type": "shell",
            "command": "clear && cd build && make",
            "presentation": {
                "echo": true,
                //"reveal": "silent",
                "reveal": "always",
                "focus": false,
                "panel": "shared"
            },
            "problemMatcher": [
                "$gcc"
            ],
            "group": {
                "kind": "build",
                "isDefault": true
            }
        }
    ]
}