Skip to content

Instantly share code, notes, and snippets.

@fj
Created July 8, 2018 05:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fj/6beb7b92253ab15e94c5a160bb9108f3 to your computer and use it in GitHub Desktop.
Save fj/6beb7b92253ab15e94c5a160bb9108f3 to your computer and use it in GitHub Desktop.
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