add build system, vendor deps, init stuff

This commit is contained in:
2026-02-22 17:57:58 -05:00
parent 530439574c
commit aa6065b0bd
26 changed files with 72992 additions and 26 deletions

40
.vscode/tasks.json vendored Normal file
View File

@@ -0,0 +1,40 @@
{
"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"
}
]
}