booplaysgba/.vscode/tasks.json

70 lines
1.5 KiB
JSON
Raw Normal View History

{
2022-02-06 16:17:23 +00:00
"version": "2.0.0",
"tasks": [
{
2022-03-03 22:35:45 +00:00
"label": "Start NGINX",
"type": "docker-run",
"dockerRun": {
"containerName": "nginx-rtmp",
"image": "tiangolo/nginx-rtmp",
"ports": [
{
"containerPort": 1935,
"hostPort": 1935
}
],
"remove": true
2022-03-04 22:45:36 +00:00
},
"problemMatcher": []
2022-03-03 22:35:45 +00:00
},
{
"label": "Start Redis",
"type": "docker-run",
"dockerRun": {
"containerName": "redis",
"image": "redis:alpine",
"ports": [
{
"containerPort": 6379,
"hostPort": 6379
}
],
"remove": true
2022-03-04 22:45:36 +00:00
},
"problemMatcher": []
2022-03-03 22:35:45 +00:00
},
{
"label": "Start NGINX+Redis",
"dependsOn": [
"Start NGINX",
"Start Redis"
2022-03-04 22:45:36 +00:00
],
"problemMatcher": []
2022-03-03 22:35:45 +00:00
},
{
"label": "Stop NGINX",
"type": "shell",
2022-03-04 22:45:36 +00:00
"command": "docker stop nginx-rtmp",
"problemMatcher": []
2022-03-03 22:35:45 +00:00
},
{
"label": "Stop NGINX",
"type": "shell",
2022-03-04 22:45:36 +00:00
"command": "docker stop redis",
"problemMatcher": []
2022-03-03 22:35:45 +00:00
},
{
"label": "Stop NGINX+Redis",
"type": "shell",
2022-03-04 22:45:36 +00:00
"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": []
2022-02-06 16:17:23 +00:00
}
]
}