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>
71 lines
2.4 KiB
JSON
71 lines
2.4 KiB
JSON
{
|
|
// Debugging Anubis from VS Code (needs the C# extension, ms-dotnettools.csharp).
|
|
// Each configuration builds the server in Debug first and opens the browser once it listens.
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "Anubis: server, dati di prova",
|
|
"type": "coreclr",
|
|
"request": "launch",
|
|
"preLaunchTask": "build-server",
|
|
"program": "${workspaceFolder}/src/Anubis.Server/bin/Debug/net10.0/Anubis.Server.dll",
|
|
// A data folder of its own, ignored by git: the real one in %APPDATA%\Anubis stays untouched.
|
|
"args": ["--data-dir", "${workspaceFolder}/artifacts/debug-data"],
|
|
"cwd": "${workspaceFolder}/src/Anubis.Server",
|
|
"env": {
|
|
"ASPNETCORE_ENVIRONMENT": "Development"
|
|
},
|
|
"console": "internalConsole",
|
|
"stopAtEntry": false,
|
|
"serverReadyAction": {
|
|
"action": "openExternally",
|
|
"pattern": "Now listening on: (https?://[^\\s\"]+)"
|
|
}
|
|
},
|
|
{
|
|
"name": "Anubis: modalità dimostrativa",
|
|
"type": "coreclr",
|
|
"request": "launch",
|
|
"preLaunchTask": "build-server",
|
|
"program": "${workspaceFolder}/src/Anubis.Server/bin/Debug/net10.0/Anubis.Server.dll",
|
|
// The data of SPEC appendix F, in a folder and a database apart (the same as "tasks seed-demo").
|
|
"args": ["--demo"],
|
|
"cwd": "${workspaceFolder}/src/Anubis.Server",
|
|
"env": {
|
|
"ASPNETCORE_ENVIRONMENT": "Development"
|
|
},
|
|
"console": "internalConsole",
|
|
"stopAtEntry": false,
|
|
"serverReadyAction": {
|
|
"action": "openExternally",
|
|
"pattern": "Now listening on: (https?://[^\\s\"]+)"
|
|
}
|
|
},
|
|
{
|
|
"name": "Anubis: server, dati dell'utente",
|
|
"type": "coreclr",
|
|
"request": "launch",
|
|
"preLaunchTask": "build-server",
|
|
"program": "${workspaceFolder}/src/Anubis.Server/bin/Debug/net10.0/Anubis.Server.dll",
|
|
// The desktop data folder (%APPDATA%\Anubis), the same one "tasks dev" uses.
|
|
"args": [],
|
|
"cwd": "${workspaceFolder}/src/Anubis.Server",
|
|
"env": {
|
|
"ASPNETCORE_ENVIRONMENT": "Development"
|
|
},
|
|
"console": "internalConsole",
|
|
"stopAtEntry": false,
|
|
"serverReadyAction": {
|
|
"action": "openExternally",
|
|
"pattern": "Now listening on: (https?://[^\\s\"]+)"
|
|
}
|
|
},
|
|
{
|
|
"name": "Anubis: aggancia a un processo",
|
|
"type": "coreclr",
|
|
"request": "attach",
|
|
"processId": "${command:pickProcess}"
|
|
}
|
|
]
|
|
}
|