rust/.vscode/tasks.json

56 lines
1.4 KiB
JSON
Raw Normal View History

// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
{
"version": "2.0.0",
"tasks": [
{
2020-04-28 15:32:23 -05:00
"label": "Build Extension in Background",
2019-12-29 19:22:52 -06:00
"group": "build",
"type": "npm",
2019-12-29 19:22:52 -06:00
"script": "watch",
"path": "editors/code/",
"problemMatcher": {
2019-12-29 19:22:52 -06:00
"base": "$tsc-watch",
"fileLocation": ["relative", "${workspaceFolder}/editors/code/"]
},
"isBackground": true,
},
2020-04-28 15:32:23 -05:00
{
"label": "Build Extension",
"group": "build",
"type": "npm",
"script": "build",
"path": "editors/code/",
"problemMatcher": {
"base": "$tsc",
"fileLocation": ["relative", "${workspaceFolder}/editors/code/"]
},
},
{
2019-12-29 17:15:39 -06:00
"label": "Build Server",
2019-12-29 19:22:52 -06:00
"group": "build",
"type": "shell",
2020-02-18 05:33:16 -06:00
"command": "cargo build --package rust-analyzer",
"problemMatcher": "$rustc"
},
{
"label": "Build Server (Release)",
"group": "build",
"type": "shell",
"command": "cargo build --release --package rust-analyzer",
"problemMatcher": "$rustc"
},
2020-04-28 15:32:23 -05:00
{
"label": "Build Server and Extension",
"dependsOn": ["Build Server", "Build Extension"],
"problemMatcher": "$rustc"
},
{
"label": "Build Server (Release) and Extension",
"dependsOn": ["Build Server (Release)", "Build Extension"],
"problemMatcher": "$rustc"
}
]
2019-12-29 11:01:15 -06:00
}