ci / test (postgres) (push) Successful in 3m18s
ci / test (sqlite) (push) Successful in 2m1s
ci / test (postgres) (pull_request) Successful in 3m50s
ci / test (sqlite) (pull_request) Successful in 2m26s
ci / image (push) Successful in 8s
ci / image (pull_request) Successful in 6s
Four launch entries for the server: a data folder of its own under artifacts/ (ignored by git), the demo mode, the user's real data folder, and attach to a running process. Each builds in Debug first and opens the browser once the server listens. tasks.json also exposes check, test and dev. SVILUPPO.md explains which entry to pick. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
46 lines
1.4 KiB
JSON
46 lines
1.4 KiB
JSON
{
|
|
// The build the debugger needs, plus the commands of tasks.ps1 (Terminal > Run Task).
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "build-server",
|
|
"type": "process",
|
|
"command": "dotnet",
|
|
"args": ["build", "${workspaceFolder}/src/Anubis.Server", "-c", "Debug", "-nologo", "-consoleLoggerParameters:NoSummary"],
|
|
"group": { "kind": "build", "isDefault": true },
|
|
"presentation": { "reveal": "silent", "clear": true },
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "check",
|
|
"type": "shell",
|
|
"command": "./tasks.ps1 check",
|
|
"windows": { "command": "./tasks.ps1 check" },
|
|
"linux": { "command": "sh ./tasks.sh check" },
|
|
"osx": { "command": "sh ./tasks.sh check" },
|
|
"group": "test",
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "test",
|
|
"type": "shell",
|
|
"command": "./tasks.ps1 test",
|
|
"windows": { "command": "./tasks.ps1 test" },
|
|
"linux": { "command": "sh ./tasks.sh test" },
|
|
"osx": { "command": "sh ./tasks.sh test" },
|
|
"group": { "kind": "test", "isDefault": true },
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "dev",
|
|
"type": "shell",
|
|
"command": "./tasks.ps1 dev",
|
|
"windows": { "command": "./tasks.ps1 dev" },
|
|
"linux": { "command": "sh ./tasks.sh dev" },
|
|
"osx": { "command": "sh ./tasks.sh dev" },
|
|
"isBackground": true,
|
|
"problemMatcher": []
|
|
}
|
|
]
|
|
}
|