2025-05-26 23:56:31 +00:00
|
|
|
{
|
|
|
|
|
"version": "2.0.0",
|
|
|
|
|
"tasks": [
|
|
|
|
|
{
|
|
|
|
|
"label": "Build Project",
|
|
|
|
|
"type": "cargo",
|
|
|
|
|
"command": "build",
|
|
|
|
|
"problemMatcher": "$rustc",
|
|
|
|
|
"group": "build"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"label": "Run Project",
|
|
|
|
|
"type": "cargo",
|
|
|
|
|
"command": "run",
|
|
|
|
|
"env": {
|
2025-06-04 22:19:24 +00:00
|
|
|
"RUST_LOG": "shrupl=debug",
|
2025-05-26 23:56:31 +00:00
|
|
|
},
|
2025-06-04 22:19:24 +00:00
|
|
|
"args": [
|
|
|
|
|
"sharry.yavook.de",
|
|
|
|
|
"G7RYoWME1W7-pcgipemJcr8-39FcMd92gBu-RgufeHc51z6",
|
|
|
|
|
"/lib/x86_64-linux-gnu/liblldb-14.so.1",
|
|
|
|
|
],
|
2025-05-26 23:56:31 +00:00
|
|
|
"problemMatcher": "$rustc",
|
|
|
|
|
"group": "none"
|
|
|
|
|
},
|
|
|
|
|
{
|
2025-07-07 19:40:56 +00:00
|
|
|
"label": "Clippy All Targets",
|
|
|
|
|
"type": "cargo",
|
|
|
|
|
"command": "clippy",
|
|
|
|
|
"args": [
|
|
|
|
|
"--all-targets",
|
|
|
|
|
"--",
|
|
|
|
|
"-Wclippy::pedantic"
|
|
|
|
|
],
|
|
|
|
|
"problemMatcher": "$rustc",
|
|
|
|
|
"group": "build"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"label": "Clippy Fix All Targets",
|
2025-05-26 23:56:31 +00:00
|
|
|
"type": "cargo",
|
|
|
|
|
"command": "clippy",
|
|
|
|
|
"args": [
|
|
|
|
|
"--fix",
|
2025-07-07 19:40:56 +00:00
|
|
|
"--all-targets",
|
2025-05-26 23:56:31 +00:00
|
|
|
"--allow-staged",
|
|
|
|
|
"--",
|
|
|
|
|
"-Wclippy::pedantic"
|
|
|
|
|
],
|
|
|
|
|
"problemMatcher": "$rustc",
|
|
|
|
|
"group": "build"
|
|
|
|
|
},
|
2025-06-25 23:42:00 +00:00
|
|
|
{
|
|
|
|
|
"label": "Run Unit Tests",
|
|
|
|
|
"type": "cargo",
|
|
|
|
|
"command": "test",
|
|
|
|
|
"args": [
|
|
|
|
|
"--lib"
|
|
|
|
|
],
|
|
|
|
|
"problemMatcher": "$rustc",
|
|
|
|
|
"group": "test"
|
|
|
|
|
},
|
2025-05-26 23:56:31 +00:00
|
|
|
// {
|
|
|
|
|
// "label": "Run Integration Tests",
|
|
|
|
|
// "type": "cargo",
|
|
|
|
|
// "command": "test",
|
|
|
|
|
// "args": [
|
|
|
|
|
// "--test",
|
|
|
|
|
// "integration"
|
|
|
|
|
// ],
|
|
|
|
|
// "problemMatcher": "$rustc",
|
|
|
|
|
// "group": "test"
|
|
|
|
|
// },
|
2025-07-10 01:50:46 +00:00
|
|
|
{
|
|
|
|
|
"label": "Test Coverage",
|
|
|
|
|
"hide": true,
|
|
|
|
|
"type": "cargo",
|
|
|
|
|
"command": "llvm-cov",
|
|
|
|
|
"args": [],
|
|
|
|
|
"problemMatcher": "$rustc",
|
|
|
|
|
"group": "test",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"label": "Report Coverage (html)",
|
|
|
|
|
"hide": true,
|
|
|
|
|
"type": "cargo",
|
|
|
|
|
"command": "llvm-cov",
|
|
|
|
|
"args": [
|
|
|
|
|
"report",
|
|
|
|
|
"--html",
|
|
|
|
|
"--output-dir" ,
|
|
|
|
|
"coverage",
|
|
|
|
|
],
|
|
|
|
|
"problemMatcher": "$rustc",
|
|
|
|
|
"group": "test"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"label": "Report Coverage (lcov)",
|
|
|
|
|
"hide": true,
|
|
|
|
|
"type": "cargo",
|
|
|
|
|
"command": "llvm-cov",
|
|
|
|
|
"args": [
|
|
|
|
|
"report",
|
|
|
|
|
"--lcov",
|
|
|
|
|
"--output-path" ,
|
|
|
|
|
"coverage/lcov.info",
|
|
|
|
|
],
|
|
|
|
|
"problemMatcher": "$rustc",
|
|
|
|
|
"group": "test"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"label": "Run Coverage",
|
|
|
|
|
"type": "shell",
|
|
|
|
|
"dependsOn": [
|
|
|
|
|
"Test Coverage",
|
|
|
|
|
"Report Coverage (html)",
|
|
|
|
|
"Report Coverage (lcov)",
|
|
|
|
|
],
|
|
|
|
|
"dependsOrder": "sequence",
|
|
|
|
|
"group": "test"
|
|
|
|
|
},
|
2025-06-25 23:42:00 +00:00
|
|
|
{
|
|
|
|
|
"label": "Run All Tests",
|
|
|
|
|
"type": "shell",
|
|
|
|
|
"command": "echo All Tests successful!",
|
|
|
|
|
"dependsOn": [
|
|
|
|
|
"Run Unit Tests",
|
2025-07-09 17:02:37 +00:00
|
|
|
// "Run Integration Tests",
|
|
|
|
|
"Run Coverage",
|
2025-06-25 23:42:00 +00:00
|
|
|
],
|
|
|
|
|
"dependsOrder": "sequence",
|
|
|
|
|
"group": "test"
|
|
|
|
|
}
|
2025-05-26 23:56:31 +00:00
|
|
|
],
|
|
|
|
|
}
|