Skip to content

Commit

Permalink
[ci] Add formatting tasks #689 (#691)
Browse files Browse the repository at this point in the history
Update tasks.json
  • Loading branch information
michaelvlach authored Aug 23, 2023
1 parent d81b217 commit 26506ff
Showing 1 changed file with 23 additions and 7 deletions.
30 changes: 23 additions & 7 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
{
"version": "2.0.0",
"tasks": [
{
"type": "cargo",
"command": "test",
"problemMatcher": ["$rustc"],
"group": "build",
"label": "Test"
},
{
"type": "cargo",
"command": "clippy",
Expand All @@ -31,6 +24,29 @@
"problemMatcher": ["$rustc"],
"group": "build",
"label": "Coverage HTML"
},
{
"type": "cargo",
"command": "fmt",
"args": ["--all"],
"problemMatcher": ["$rustc"],
"group": "build",
"label": "Format"
},
{
"type": "cargo",
"command": "fmt",
"args": ["--all", "--check"],
"problemMatcher": ["$rustc"],
"group": "build",
"label": "Format Check"
},
{
"type": "cargo",
"command": "test",
"problemMatcher": ["$rustc"],
"group": "build",
"label": "Test"
}
]
}

0 comments on commit 26506ff

Please sign in to comment.