add vscode tasks

This commit is contained in:
Cyryl Płotnicki 2018-12-22 16:08:49 +00:00
parent 10c30f50e8
commit a19cbf72be

37
.vscode/tasks.json vendored Normal file
View file

@ -0,0 +1,37 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"type": "cargo",
"label": "cargo build",
"command": "cargo",
"args": [
"build"
],
"problemMatcher": [
"$rustc"
],
"group": {
"kind": "build",
"isDefault": true
}
},
{
"type": "cargo",
"label": "cargo test",
"command": "cargo",
"args": [
"test"
],
"problemMatcher": [
"$rustc"
],
"group": {
"kind": "test",
"isDefault": true
}
}
]
}