Skip to content

Commit

Permalink
[ci] Add vscode tasks #488 (#490)
Browse files Browse the repository at this point in the history
Create tasks.json
  • Loading branch information
michaelvlach authored May 1, 2023
1 parent e86982a commit f066940
Showing 1 changed file with 64 additions and 0 deletions.
64 changes: 64 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
{
"version": "2.0.0",
"tasks": [
{
"type": "cargo",
"command": "test",
"problemMatcher": [
"$rustc"
],
"group": "build",
"label": "Test"
},
{
"type": "cargo",
"command": "clippy",
"args": [
"--workspace",
"--all-targets",
"--",
"-D",
"warnings"
],
"problemMatcher": [
"$rustc"
],
"group": "build",
"label": "Clippy"
},
{
"type": "cargo",
"command": "llvm-cov",
"args": [
"--workspace",
"--fail-uncovered-functions",
"0",
"--fail-uncovered-lines",
"0"
],
"problemMatcher": [
"$rustc"
],
"group": "build",
"label": "Coverage"
},
{
"type": "cargo",
"command": "llvm-cov",
"args": [
"--workspace",
"--fail-uncovered-functions",
"0",
"--fail-uncovered-lines",
"0",
"--html",
"--open"
],
"problemMatcher": [
"$rustc"
],
"group": "build",
"label": "Coverage HTML"
},
]
}

0 comments on commit f066940

Please sign in to comment.