Added problem matchers

This commit is contained in:
Davide Passoni
2024-02-19 16:45:55 +01:00
parent 6373fd300d
commit 39c28ffb04
5 changed files with 38 additions and 12 deletions

View File

@@ -3,12 +3,28 @@
// 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
"isBackground": true,
"dependsOn": ["check-setup"],
"problemMatcher":{
"owner": "custom",
"base": "$tsc-watch",
"background": {
"activeOnStart": true,
"beginsPattern": "Please wait",
"endsPattern": "Waiting for connections..."
}
}
}
],
"inputs": [

View File

@@ -1,7 +1,3 @@
cd ..
call .\check_setup.bat
cd server
call .\scripts\copy.bat
call .\scripts\create-mock-dcs.bat
node .\bin\demo --config %1