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 22:32:23 +02:00
"label": "Build Extension in Background",
2019-12-30 02:22:52 +01:00
"group": "build",
"type": "npm",
2019-12-30 02:22:52 +01:00
"script": "watch",
"path": "editors/code/",
"problemMatcher": {
2019-12-30 02:22:52 +01:00
"base": "$tsc-watch",
"fileLocation": ["relative", "${workspaceFolder}/editors/code/"]
},
"isBackground": true,
},
2020-04-28 22:32:23 +02:00
{
"label": "Build Extension",
"group": "build",
"type": "npm",
"script": "build",
"path": "editors/code/",
"problemMatcher": {
"base": "$tsc",
"fileLocation": ["relative", "${workspaceFolder}/editors/code/"]
},
},
{
2019-12-30 00:15:39 +01:00
"label": "Build Server",
2019-12-30 02:22:52 +01:00
"group": "build",
"type": "shell",
2020-02-18 12:33:16 +01: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 22:32:23 +02: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 18:01:15 +01:00
}