2019-01-18 04:59:08 -06:00
|
|
|
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
|
|
|
// for the documentation about the tasks.json format
|
|
|
|
{
|
|
|
|
"version": "2.0.0",
|
|
|
|
"tasks": [
|
|
|
|
{
|
|
|
|
"type": "npm",
|
|
|
|
"script": "compile",
|
|
|
|
"label": "Build Extension",
|
|
|
|
"problemMatcher": {
|
|
|
|
"owner": "typescript",
|
|
|
|
"pattern": "$tsc",
|
2019-03-10 07:54:18 -05:00
|
|
|
"fileLocation": [
|
|
|
|
"relative",
|
|
|
|
"${workspaceRoot}/editors/code"
|
|
|
|
]
|
2019-01-18 04:59:08 -06:00
|
|
|
},
|
|
|
|
"path": "editors/code/"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Build Lsp",
|
|
|
|
"type": "shell",
|
2019-03-10 08:57:30 -05:00
|
|
|
"command": "cargo build",
|
2019-03-10 07:54:18 -05:00
|
|
|
"problemMatcher": "$rustc"
|
2019-01-18 04:59:08 -06:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Build All",
|
|
|
|
"group": "build",
|
2019-03-10 07:54:18 -05:00
|
|
|
"dependsOn": [
|
|
|
|
"Build Extension",
|
|
|
|
"Build Lsp"
|
|
|
|
],
|
2019-01-18 04:59:08 -06:00
|
|
|
"problemMatcher": []
|
2019-03-10 07:54:18 -05:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "cargo watch",
|
|
|
|
"group": "build",
|
|
|
|
"isBackground": true,
|
|
|
|
"type": "shell",
|
|
|
|
"command": "cargo",
|
|
|
|
"args": [
|
|
|
|
"watch"
|
|
|
|
],
|
|
|
|
"problemMatcher": "$rustc-watch"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "cargo watch tests",
|
|
|
|
"group": "build",
|
|
|
|
"isBackground": true,
|
|
|
|
"type": "shell",
|
|
|
|
"command": "cargo",
|
|
|
|
"args": [
|
|
|
|
"watch",
|
|
|
|
"-x",
|
|
|
|
"check --tests"
|
|
|
|
],
|
|
|
|
"problemMatcher": "$rustc-watch"
|
2019-01-18 04:59:08 -06:00
|
|
|
}
|
|
|
|
]
|
2019-03-10 07:54:18 -05:00
|
|
|
}
|