Skip to content

Instantly share code, notes, and snippets.

@fj fj/tasks.json
Created Jul 8, 2018

Embed
What would you like to do?
This is roughly the implicit `tasks.json` that would have been generated by the `rls-vscode` extension to work around the issue raised in issue #359.
{
// This is roughly the implicit `tasks.json` that would have been generated
// by the `rls-vscode` extension to work around the issue raised in issue #359.
"version": "2.0.0",
"tasks": [
{
"type": "shell",
"label": "cargo build",
"command": "cargo",
"args": [
"build"
],
"problemMatcher": [
"$rustc"
]
},
{
"type": "shell",
"label": "cargo check",
"command": "cargo",
"args": [
"check"
],
"problemMatcher": [
"$rustc"
]
},
{
"type": "shell",
"label": "cargo clean",
"command": "cargo",
"args": [
"clean"
],
"problemMatcher": []
},
{
"type": "shell",
"label": "cargo run",
"command": "cargo",
"args": [
"run"
],
"problemMatcher": [
"$rustc"
]
},
{
"type": "shell",
"label": "cargo test",
"command": "cargo",
"args": [
"test"
],
"problemMatcher": [
"$rustc"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.