vscode: Fix task executions
Signed-off-by: Thomas Klaehn <thomas.klaehn@perinet.io>
This commit is contained in:
parent
15d240ef20
commit
ab2f440b82
35
.vscode/tasks.json
vendored
35
.vscode/tasks.json
vendored
@ -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"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user