{
"version": "2.0.0",
"tasks": [
{
"type": "cargo",
"command": "build",
"args": [ ],
"problemMatcher": [
"$rustc"
],
"group": "build",
"label": "rust: cargo build",
"presentation": {
"reveal": "always",
"clear": true
},
},
{
"type": "cargo",
"command": "test",
"args": [ "--all", "--", "--show-output", "--test-threads=1" ], "problemMatcher": [
"$rustc"
],
"group": "build",
"label": "rust: cargo test",
"presentation": {
"reveal": "always",
"clear": true
},
},
{
"type": "shell",
"label": "rust: build tests",
"command": "cargo",
"group": "build",
"args": [
"test", "--no-run"
],
"problemMatcher": [
"$rustc"
]
},
{
"type": "cargo",
"command": "doc",
"args": [
"--no-deps"
],
"problemMatcher": [
"$rustc"
],
"group": "build",
"label": "rust: cargo doc",
"presentation": {
"reveal": "always",
"clear": true
}
},
{
"type": "shell",
"label": "rust: cargo doc and open",
"command": "cargo doc --no-deps && xdg-open target/doc/syntaxfmt/index.html",
"group": "build",
"problemMatcher": [
"$rustc"
],
"presentation": {
"reveal": "always",
"clear": true
}
}
]
}