2019-01-18 10:59:08 +00: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 12:54:18 +00:00
|
|
|
"fileLocation": [
|
|
|
|
"relative",
|
|
|
|
"${workspaceRoot}/editors/code"
|
|
|
|
]
|
2019-01-18 10:59:08 +00:00
|
|
|
},
|
|
|
|
"path": "editors/code/"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Build Lsp",
|
|
|
|
"type": "shell",
|
2019-03-10 13:57:30 +00:00
|
|
|
"command": "cargo build",
|
2019-03-10 12:54:18 +00:00
|
|
|
"problemMatcher": "$rustc"
|
2019-01-18 10:59:08 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Build All",
|
|
|
|
"group": "build",
|
2019-03-10 12:54:18 +00:00
|
|
|
"dependsOn": [
|
|
|
|
"Build Extension",
|
|
|
|
"Build Lsp"
|
|
|
|
],
|
2019-01-18 10:59:08 +00:00
|
|
|
"problemMatcher": []
|
2019-03-10 12:54:18 +00: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 10:59:08 +00:00
|
|
|
}
|
|
|
|
]
|
2019-03-10 12:54:18 +00:00
|
|
|
}
|