Add convenience VSCode task for SuperDirt

This commit is contained in:
Phillip Kühne 2024-01-29 22:42:09 +01:00
parent f096837245
commit e534a4009f
Signed by: phillip
GPG Key ID: E4C1C4D2F90902AA
2 changed files with 21 additions and 0 deletions

21
.vscode/tasks.json vendored Normal file
View File

@ -0,0 +1,21 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "SuperDirt",
"type": "shell",
"command": "tools/superdirt.sh",
"isBackground": true,
"problemMatcher": {
"base": "$tsc-watch",
"background": {
"activeOnStart": true,
"beginsPattern": "compiling class library...",
"endsPattern": "SuperDirt: listening on port \\d+"
},
}
}
]
}