Skip to content

Commit

Permalink
fix tasks.json for rust-analyzer compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
ssg committed Jan 18, 2023
1 parent b96d65c commit e73ef11
Showing 1 changed file with 18 additions and 9 deletions.
27 changes: 18 additions & 9 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,37 +2,46 @@
"version": "2.0.0",
"tasks": [
{
"type": "cargo",
"command": "build",
"type": "process",
"command": "cargo",
"args": [
"build",
],
"problemMatcher": [
"$rustc"
],
"group": {
"kind": "build",
"isDefault": true
},
"label": "rust: cargo build"
"label": "Rust: cargo build"
},
{
"type": "cargo",
"command": "test",
"type": "process",
"command": "cargo",
"args": [
"test",
],
"problemMatcher": [
"$rustc"
],
"group": {
"kind": "test",
"isDefault": true
},
"label": "rust: cargo test"
"label": "Rust: cargo test"
},
{
"type": "cargo",
"command": "clippy",
"type": "process",
"command": "cargo",
"args": [
"clippy",
],
"problemMatcher": [
"$rustc"
],
"group": "build",
"label": "rust: cargo clippy"
"label": "Rust: cargo clippy"
}
]
}

0 comments on commit e73ef11

Please sign in to comment.