vscode: Fix task executions

Signed-off-by: Thomas Klaehn <thomas.klaehn@perinet.io>
This commit is contained in:
Thomas Klaehn 2025-02-12 08:52:34 +01:00
parent 15d240ef20
commit ab2f440b82

35
.vscode/tasks.json vendored
View File

@ -15,7 +15,26 @@
"group": { "group": {
"kind": "build" "kind": "build"
}, },
"label": "rust: cargo build lp-core" "label": "build lp-core"
},
{
"type": "cargo",
"command": "build",
"args": [
"-p",
"hp-core",
"--release"
],
"dependsOn": [
"build lp-core"
],
"problemMatcher": [
"$rustc"
],
"group": {
"kind": "build"
},
"label": "build hp-core"
}, },
{ {
"type": "cargo", "type": "cargo",
@ -24,7 +43,7 @@
"$rustc" "$rustc"
], ],
"group": "build", "group": "build",
"label": "rust: cargo check" "label": "check"
}, },
{ {
"type": "cargo", "type": "cargo",
@ -33,16 +52,24 @@
"$rustc" "$rustc"
], ],
"group": "build", "group": "build",
"label": "rust: cargo clean" "label": "clean"
}, },
{ {
"type": "cargo", "type": "cargo",
"command": "run", "command": "run",
"args": [
"-p",
"hp-core",
"--release"
],
"dependsOn": [
"build hp-core"
],
"problemMatcher": [ "problemMatcher": [
"$rustc" "$rustc"
], ],
"group": "build", "group": "build",
"label": "rust: cargo run" "label": "run"
} }
] ]
} }