Files
autosample/.vscode/tasks.json

41 lines
1.2 KiB
JSON

{
"version": "2.0.0",
"tasks": [
{
"label": "bootstrap nob",
"type": "shell",
"command": "cl",
"args": ["/nologo", "nob.c"],
"group": "build",
"problemMatcher": "$msCompile",
"detail": "One-time bootstrap: compile nob.c with cl.exe"
},
{
"label": "build",
"type": "shell",
"command": "${workspaceFolder}/nob.exe",
"group": "build",
"problemMatcher": "$msCompile",
"detail": "Build autosample via nob"
},
{
"label": "rebuild",
"type": "shell",
"command": "${workspaceFolder}/nob.exe",
"group": "build",
"problemMatcher": "$msCompile",
"detail": "Clean and rebuild",
"dependsOn": "clean"
},
{
"label": "clean",
"type": "shell",
"command": "if (Test-Path build) { Remove-Item -Recurse -Force build }",
"args": [],
"group": "build",
"problemMatcher": [],
"detail": "Remove build directory"
}
]
}