45 lines
1.4 KiB
JSON
45 lines
1.4 KiB
JSON
{
|
|
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
|
// for the documentation about the tasks.json format
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "build",
|
|
"type": "shell",
|
|
"command": "msbuild",
|
|
"args": [
|
|
// Ask msbuild to generate full paths for file names.
|
|
"/property:GenerateFullPaths=true",
|
|
"/t:build"
|
|
],
|
|
"group": "build",
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "build-and-start-debug-server",
|
|
"type": "shell",
|
|
"isBackground": true,
|
|
"command": "./start.sh",
|
|
// This task is run before some debug tasks.
|
|
// Problem is, it's a watch script, and since it never exits, VSCode
|
|
// complains. All this is needed so VSCode just lets it run.
|
|
"problemMatcher": [
|
|
{
|
|
"pattern": [
|
|
{
|
|
"regexp": ".",
|
|
"file": 1,
|
|
"location": 2,
|
|
"message": 3
|
|
}
|
|
],
|
|
"background": {
|
|
"activeOnStart": true,
|
|
"beginsPattern": ".",
|
|
"endsPattern": ".",
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |