shrupl/.vscode/tasks.json
Jörn-Michael Miehe c9c21aa128 split api.rs into modules
- `id` for multiple "ID" types
- `json` for types directly interacting with the Sharry API
- `uri` for the `Uri` type
- activate testing
2025-06-25 23:43:57 +00:00

79 lines
No EOL
2.1 KiB
JSON

{
"version": "2.0.0",
"tasks": [
{
"label": "Build Project",
"type": "cargo",
"command": "build",
// "presentation": {
// "reveal": "silent"
// },
"problemMatcher": "$rustc",
"group": "build"
},
{
"label": "Run Project",
"type": "cargo",
"command": "run",
"env": {
"RUST_LOG": "shrupl=debug",
},
"args": [
"sharry.yavook.de",
"G7RYoWME1W7-pcgipemJcr8-39FcMd92gBu-RgufeHc51z6",
"/lib/x86_64-linux-gnu/liblldb-14.so.1",
],
"problemMatcher": "$rustc",
"group": "none"
},
{
"label": "Clippy Fix Project",
"type": "cargo",
"command": "clippy",
"args": [
"--fix",
"--lib",
"--bin",
"shrupl",
"--allow-dirty",
"--allow-staged",
"--",
"-Wclippy::pedantic"
],
"problemMatcher": "$rustc",
"group": "build"
},
{
"label": "Run Unit Tests",
"type": "cargo",
"command": "test",
"args": [
"--lib"
],
"problemMatcher": "$rustc",
"group": "test"
},
// {
// "label": "Run Integration Tests",
// "type": "cargo",
// "command": "test",
// "args": [
// "--test",
// "integration"
// ],
// "problemMatcher": "$rustc",
// "group": "test"
// },
{
"label": "Run All Tests",
"type": "shell",
"command": "echo All Tests successful!",
"dependsOn": [
"Run Unit Tests",
"Run Integration Tests"
],
"dependsOrder": "sequence",
"group": "test"
}
],
}