70 lines
1.5 KiB
JSON
70 lines
1.5 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "Start NGINX",
|
|
"type": "docker-run",
|
|
"dockerRun": {
|
|
"containerName": "nginx-rtmp",
|
|
"image": "tiangolo/nginx-rtmp",
|
|
"ports": [
|
|
{
|
|
"containerPort": 1935,
|
|
"hostPort": 1935
|
|
}
|
|
],
|
|
"remove": true
|
|
},
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Start Redis",
|
|
"type": "docker-run",
|
|
"dockerRun": {
|
|
"containerName": "redis",
|
|
"image": "redis:alpine",
|
|
"ports": [
|
|
{
|
|
"containerPort": 6379,
|
|
"hostPort": 6379
|
|
}
|
|
],
|
|
"remove": true
|
|
},
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Start NGINX+Redis",
|
|
"dependsOn": [
|
|
"Start NGINX",
|
|
"Start Redis"
|
|
],
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Stop NGINX",
|
|
"type": "shell",
|
|
"command": "docker stop nginx-rtmp",
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Stop NGINX",
|
|
"type": "shell",
|
|
"command": "docker stop redis",
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Stop NGINX+Redis",
|
|
"type": "shell",
|
|
"command": "docker stop redis nginx-rtmp",
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Build mGBA",
|
|
"type": "shell",
|
|
"command": "mkdir src/mgba/build; cd src/mgba/build && cmake -DBUILD_PYTHON=ON -DBUILD_QT=OFF -DBUILD_SDL=OFF -DUSE_DISCORD_RPC=OFF . && make",
|
|
"problemMatcher": []
|
|
}
|
|
]
|
|
}
|