45 lines
1.3 KiB
JSON

{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "check-setup",
"type": "shell",
"command": "cd .. ; ./check_setup.bat",
"isBackground": false
},
{
"label": "demo-server",
"type": "shell",
"command": "./scripts/demo-server.bat",
"args": ["${input:enterDir}/Config/olympus.json"],
"isBackground": true,
"dependsOn": ["check-setup"],
"problemMatcher":{
"owner": "custom",
"base": "$tsc-watch",
"background": {
"activeOnStart": true,
"beginsPattern": "Please wait",
"endsPattern": "Waiting for connections..."
}
}
},
{
"label": "copy",
"type": "shell",
"command": "./scripts/copy.bat",
"isBackground": false,
"dependsOn": ["check-setup"],
}
],
"inputs": [
{
"id": "enterDir",
"type": "command",
"command": "extension.commandvariable.remember",
"args": { "key": "dir" }
}
]
}