feat: even more tasks

This commit is contained in:
Laureηt 2022-03-04 23:45:36 +01:00
parent 6330221fdb
commit 39d095aae1
No known key found for this signature in database
GPG key ID: D88C6B294FD40994
3 changed files with 52 additions and 6 deletions

24
.vscode/tasks.json vendored
View file

@ -14,7 +14,8 @@
}
],
"remove": true
}
},
"problemMatcher": []
},
{
"label": "Start Redis",
@ -29,29 +30,40 @@
}
],
"remove": true
}
},
"problemMatcher": []
},
{
"label": "Start NGINX+Redis",
"dependsOn": [
"Start NGINX",
"Start Redis"
]
],
"problemMatcher": []
},
{
"label": "Stop NGINX",
"type": "shell",
"command": "docker stop nginx-rtmp"
"command": "docker stop nginx-rtmp",
"problemMatcher": []
},
{
"label": "Stop NGINX",
"type": "shell",
"command": "docker stop redis"
"command": "docker stop redis",
"problemMatcher": []
},
{
"label": "Stop NGINX+Redis",
"type": "shell",
"command": "docker stop redis nginx-rtmp"
"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": []
}
]
}

17
src/emulator/.vscode/tasks.json vendored Normal file
View file

@ -0,0 +1,17 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "Generate requirements.txt",
"type": "shell",
"command": "$HOME/.local/bin/poetry export --format requirements.txt --output requirements.txt --without-hashes && sed -i '/mgba/d' requirements.txt",
"problemMatcher": []
},
{
"label": "Poetry install",
"type": "shell",
"command": "BINDIR=../mgba/build/ LIBDIR=../mgba/build/ $HOME/.local/bin/poetry install",
"problemMatcher": []
}
]
}

17
src/server/.vscode/tasks.json vendored Normal file
View file

@ -0,0 +1,17 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "Generate requirements.txt",
"type": "shell",
"command": "$HOME/.local/bin/poetry export --format requirements.txt --output requirements.txt --without-hashes",
"problemMatcher": []
},
{
"label": "Poetry install",
"type": "shell",
"command": "$HOME/.local/bin/poetry install",
"problemMatcher": []
}
]
}