Merge pull request #1308 from ONLYOFFICE/feature/vscode-tasks
feature/vscode-tasks
This commit is contained in:
commit
53704749bb
63
.vscode/tasks.json
vendored
Normal file
63
.vscode/tasks.json
vendored
Normal file
@ -0,0 +1,63 @@
|
||||
{
|
||||
"version": "2.0.0",
|
||||
"problemMatcher": [],
|
||||
"presentation": {
|
||||
"focus": true,
|
||||
"close": true
|
||||
},
|
||||
"tasks": [
|
||||
{
|
||||
"label": "Frontend | Start",
|
||||
"type": "shell",
|
||||
"command": "cd ${workspaceFolder} ; yarn start"
|
||||
},
|
||||
{
|
||||
"label": "Backend | Build",
|
||||
"type": "shell",
|
||||
"command": "${workspaceFolder}/build/build.backend.docker.sh",
|
||||
"windows": {
|
||||
"command": "${workspaceFolder}\\build\\build.bat"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "Backend | Start",
|
||||
"type": "shell",
|
||||
"command": "${workspaceFolder}/build/start/start.backend.docker.sh",
|
||||
"windows": {
|
||||
"command": "${workspaceFolder}\\build\\start\\start.bat"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "Backend | Restart",
|
||||
"type": "shell",
|
||||
"command": "${workspaceFolder}/build/start/restart.backend.docker.sh",
|
||||
"windows": {
|
||||
"command": "${workspaceFolder}\\build\\start\\restart.bat"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "Backend | Stop",
|
||||
"type": "shell",
|
||||
"command": "${workspaceFolder}/build/start/stop.backend.docker.sh",
|
||||
"windows": {
|
||||
"command": "${workspaceFolder}\\build\\start\\stop.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"]
|
||||
}
|
||||
]
|
||||
}
|
@ -1,5 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
|
||||
rd="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
||||
echo "Run script directory:" $dir
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user