2023-03-16 10:22:32 +00:00
|
|
|
{
|
|
|
|
"version": "2.0.0",
|
|
|
|
"problemMatcher": [],
|
|
|
|
"presentation": {
|
|
|
|
"focus": true,
|
|
|
|
"close": true
|
|
|
|
},
|
|
|
|
"tasks": [
|
|
|
|
{
|
2023-03-16 12:55:32 +00:00
|
|
|
"label": "Backend | Start",
|
2023-03-16 10:22:32 +00:00
|
|
|
"type": "shell",
|
2023-03-16 13:22:37 +00:00
|
|
|
"command": "${workspaceFolder}/.vscode/tasks-scripts/start.sh ${input:start-param}",
|
2023-03-16 10:22:32 +00:00
|
|
|
"windows": {
|
|
|
|
"command": "${workspaceFolder}\\.vscode\\tasks-scripts\\start.bat ${input:start-param}"
|
|
|
|
// "command": "${workspaceFolder}\\.vscode\\tasks-scripts\\start.bat ${input:start-param} ${input:local-docker}"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2023-03-16 12:55:32 +00:00
|
|
|
"label": "Backend | Build",
|
2023-03-16 10:22:32 +00:00
|
|
|
"type": "shell",
|
2023-03-16 12:45:00 +00:00
|
|
|
"command": "${workspaceFolder}/build/build.backend.docker.sh",
|
2023-03-16 10:22:32 +00:00
|
|
|
"windows": {
|
|
|
|
"command": "${workspaceFolder}\\build\\build.bat"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2023-03-16 12:55:32 +00:00
|
|
|
"label": "Frontend | Start",
|
2023-03-16 10:22:32 +00:00
|
|
|
"type": "shell",
|
2023-03-16 13:24:39 +00:00
|
|
|
"command": "cd ${workspaceFolder} && yarn start"
|
2023-03-16 10:22:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// {
|
|
|
|
// "label": "Migrate",
|
|
|
|
// "type": "shell",
|
|
|
|
// "command": "${workspaceFolder}\\build\\runMigrations.sh",
|
|
|
|
// "windows": {
|
|
|
|
// "command": "${workspaceFolder}\\build\\runMigrations.bat"
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
],
|
|
|
|
"inputs": [
|
|
|
|
{
|
|
|
|
"id": "start-param",
|
|
|
|
"description": "Command",
|
|
|
|
"default": "Start",
|
|
|
|
"type": "pickString",
|
|
|
|
"options": ["Start", "Restart", "Stop"]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "local-docker",
|
|
|
|
"description": "Manipulation",
|
|
|
|
"default": "Local",
|
|
|
|
"type": "pickString",
|
|
|
|
"options": ["Local", "Docker"]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|