feat: even more tasks
This commit is contained in:
parent
6330221fdb
commit
39d095aae1
24
.vscode/tasks.json
vendored
24
.vscode/tasks.json
vendored
|
@ -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
17
src/emulator/.vscode/tasks.json
vendored
Normal 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
17
src/server/.vscode/tasks.json
vendored
Normal 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": []
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in a new issue