{ "version": "2.0.0", "tasks": [ { "label": "Build & Audit (Roslyn + JetBrains)", "dependsOrder": "sequence", "dependsOn": ["Create .sarif Dir", "Build: QuanTAlib", "JetBrains: Inspect"], "group": { "kind": "build", "isDefault": true } }, { "label": "Create .sarif Dir", "type": "shell", "command": "mkdir -p .sarif", "windows": { "command": "powershell", "args": ["-Command", "if (!(Test-Path .sarif)) { New-Item -Path .sarif -ItemType Directory }"] }, "presentation": { "reveal": "silent" } }, { "label": "Build: QuanTAlib", "type": "process", "command": "dotnet", "args": [ "build", "${workspaceFolder}/QuanTAlib.sln", "/property:GenerateFullPaths=true", "/consoleloggerparameters:NoSummary" ], "problemMatcher": "$msCompile" }, { "label": "JetBrains: Inspect", "type": "shell", "command": "jb inspectcode QuanTAlib.sln --output=.sarif/jetbrains.sarif --format=Sarif", "presentation": { "reveal": "always" }, "problemMatcher": [], "postLines": ["Analysis complete. Open .sarif/jetbrains.sarif to view results."] }, { "label": "JetBrains: Cleanup", "type": "shell", "command": "jb cleanupcode QuanTAlib.sln", "problemMatcher": [] }, { "label": "test-net10", "command": "dotnet", "type": "process", "args": [ "test", "${workspaceFolder}/lib/QuanTAlib.Tests.csproj", "--framework", "net10.0" ], "problemMatcher": "$msCompile", "group": { "kind": "test", "isDefault": true }, "presentation": { "reveal": "always", "panel": "new" } }, { "label": "build-lib-net10-debug", "type": "process", "command": "dotnet", "args": [ "build", "${workspaceFolder}/lib/quantalib.csproj", "--configuration", "Debug", "--framework", "net10.0" ], "problemMatcher": "$msCompile", "group": { "kind": "build", "isDefault": false } }, { "label": "build-sln-debug", "type": "process", "command": "dotnet", "args": [ "build", "${workspaceFolder}/QuanTAlib.sln", "--configuration", "Debug" ], "problemMatcher": "$msCompile", "group": { "kind": "build", "isDefault": false } } ] }