2017-11-08 20:11:53 -06:00
|
|
|
{
|
|
|
|
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
|
|
|
// for the documentation about the tasks.json format
|
|
|
|
"version": "2.0.0",
|
|
|
|
"tasks": [
|
|
|
|
{
|
|
|
|
"type": "shell",
|
2017-11-15 22:45:09 -06:00
|
|
|
"label": "cargo fmt",
|
2017-11-08 20:11:53 -06:00
|
|
|
"command": "cargo",
|
|
|
|
"args": [
|
2017-11-08 22:42:17 -06:00
|
|
|
"fmt",
|
|
|
|
"--",
|
2017-11-15 22:45:09 -06:00
|
|
|
"--write-mode", "overwrite"
|
|
|
|
],
|
|
|
|
"problemMatcher": [
|
|
|
|
"$rustc"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "shell",
|
|
|
|
"label": "cargo doc",
|
|
|
|
"command": "cargo",
|
|
|
|
"args": [
|
|
|
|
"doc", "--open"
|
2017-11-08 20:11:53 -06:00
|
|
|
],
|
|
|
|
"problemMatcher": [
|
|
|
|
"$rustc"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|