gamesvr-ut99/.vscode/tasks.json

46 lines
1.7 KiB
JSON
Raw Normal View History

2021-08-29 04:04:40 +02:00
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "Linux - Build Image",
"type": "shell",
"command": "docker pull lacledeslan/steamcmd:linux; docker pull debian:bullseye-slim; docker build . -f linux.Dockerfile -t ll/gamesvr-ut99 --no-cache --build-arg BUILDNODE=$env:computername;",
"group": "build",
"problemMatcher": [],
"promptOnClose": true
},
{
"label": "Linux - Build & Shell In",
"type": "shell",
"command": "docker run -it --net=host --rm ll/gamesvr-ut99;",
"dependsOn": "Linux - Build Image",
"group": "build",
"problemMatcher": [],
"promptOnClose": true
},
{
"label": "Linux - Build & Execute Self Tests",
"type": "shell",
"command": "docker run -it --rm ll/gamesvr-ut99 /app/ll-tests/gamesvr-ut99.sh;",
"dependsOn": "Linux - Build Image",
"group": {
"kind": "build",
"isDefault": true
},
"problemMatcher": [],
"promptOnClose": true
},
{
"label": "Linux - Build & Run Interactive Server",
"type": "shell",
"command": "docker run -it --rm --net=host ll/gamesvr-ut99 ./ucc-bin server DM-Gael?game=XGame.xDeathMatch -nohomedir -lanplay",
"dependsOn": "Linux - Build Image",
"group": "build",
"problemMatcher": [],
"promptOnClose": true
}
]
}