DocSpace-client/.vscode/tasks.json
2023-03-16 15:55:32 +03:00

58 lines
1.4 KiB
JSON

{
"version": "2.0.0",
"problemMatcher": [],
"presentation": {
"focus": true,
"close": true
},
"tasks": [
{
"label": "Backend | Start",
"type": "shell",
"command": "tasks-scripts/start.sh ${input:start-param}",
"windows": {
"command": "${workspaceFolder}\\.vscode\\tasks-scripts\\start.bat ${input:start-param}"
// "command": "${workspaceFolder}\\.vscode\\tasks-scripts\\start.bat ${input:start-param} ${input:local-docker}"
}
},
{
"label": "Backend | Build",
"type": "shell",
"command": "${workspaceFolder}/build/build.backend.docker.sh",
"windows": {
"command": "${workspaceFolder}\\build\\build.bat"
}
},
{
"label": "Frontend | Start",
"type": "shell",
"command": "yarn start"
}
// {
// "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"]
}
]
}