add VSCode tasks

This commit is contained in:
Scott Pruett 2022-05-23 20:50:52 -04:00
parent e57902d80f
commit 290e387556
1 changed files with 41 additions and 0 deletions

41
.vscode/tasks.json vendored Normal file
View File

@ -0,0 +1,41 @@
{
"version": "2.0.0",
"tasks": [
{
"type": "cargo",
"command": "build",
"problemMatcher": [
"$rustc"
],
"group": "build",
"label": "rust: cargo build"
},
{
"type": "cargo",
"command": "check",
"problemMatcher": [
"$rustc"
],
"group": "build",
"label": "rust: cargo check"
},
{
"type": "cargo",
"command": "clippy",
"problemMatcher": [
"$rustc"
],
"group": "build",
"label": "rust: cargo clippy"
},
{
"type": "cargo",
"command": "test",
"problemMatcher": [
"$rustc"
],
"group": "test",
"label": "rust: cargo test"
}
]
}