Add vscode build tasks for examples and release
This commit is contained in:
38
.vscode/tasks.json
vendored
38
.vscode/tasks.json
vendored
@@ -9,7 +9,7 @@
|
||||
* but we need to provide a label for it,
|
||||
* so we can invoke it from the debug launcher.
|
||||
*/
|
||||
"label": "build",
|
||||
"label": "cargo build",
|
||||
"type": "cargo",
|
||||
"subcommand": "build",
|
||||
"problemMatcher": [
|
||||
@@ -20,5 +20,41 @@
|
||||
"isDefault": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "cargo build --release",
|
||||
"type": "process",
|
||||
"command": "cargo",
|
||||
"args": ["build", "--release"],
|
||||
"problemMatcher": [
|
||||
"$rustc"
|
||||
],
|
||||
"group": "build"
|
||||
},
|
||||
{
|
||||
"label": "cargo build --examples",
|
||||
"type": "process",
|
||||
"command": "cargo",
|
||||
"args": ["build","--examples"],
|
||||
"problemMatcher": [
|
||||
"$rustc"
|
||||
],
|
||||
"group": "build"
|
||||
},
|
||||
{
|
||||
"label": "cargo build --examples --release",
|
||||
"type": "process",
|
||||
"command": "cargo",
|
||||
"args": ["build","--examples", "--release"],
|
||||
"problemMatcher": [
|
||||
"$rustc"
|
||||
],
|
||||
"group": "build"
|
||||
},
|
||||
{
|
||||
"label": "cargo clean",
|
||||
"type": "cargo",
|
||||
"subcommand": "clean",
|
||||
"group": "build"
|
||||
},
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user