mirror of
https://github.com/LacledesLAN/gamesvr-ut99.git
synced 2024-12-23 03:02:49 +01:00
46 lines
1.7 KiB
JSON
46 lines
1.7 KiB
JSON
|
{
|
||
|
// 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
|
||
|
}
|
||
|
]
|
||
|
}
|