Fixed tasks

This commit is contained in:
Ilya Oleshko 2023-11-07 14:07:51 +03:00
parent 3dd39b80b1
commit a54489ff5a
2 changed files with 109 additions and 37 deletions

47
.vscode/tasks.json vendored
View File

@ -107,6 +107,36 @@
"close": false
}
},
{
"label": "Frontend | install",
"type": "shell",
"command": "cd ${workspaceFolder} ; yarn install",
"group": {
"kind": "build",
"isDefault": true
},
"presentation": {
"reveal": "always",
"panel": "new",
"focus": true,
"close": false
}
},
{
"label": "Frontend | build",
"type": "shell",
"command": "cd ${workspaceFolder} ; yarn build",
"group": {
"kind": "build",
"isDefault": true
},
"presentation": {
"reveal": "always",
"panel": "new",
"focus": true,
"close": false
}
},
{
"label": "Frontend | start",
"type": "shell",
@ -119,7 +149,22 @@
"reveal": "always",
"panel": "new",
"focus": true,
"close": true
"close": false
}
},
{
"label": "Frontend | start-prod",
"type": "shell",
"command": "cd ${workspaceFolder} ; yarn start-prod",
"group": {
"kind": "build",
"isDefault": true
},
"presentation": {
"reveal": "always",
"panel": "new",
"focus": true,
"close": false
}
}
]

View File

@ -44,44 +44,71 @@
},
"VsCodeTaskButtons.tasks": [
{
"label": "S:Build-EE",
"task": "Backend | build EE",
"tooltip": "🛠️ Start the \"backend docker build EE\" task"
"label": "Server",
"tasks": [
{
"label": "Docker : Build-EE",
"task": "Backend | build EE",
"tooltip": "🛠️ Start the \"backend docker build EE\" task"
},
{
"label": "Docker : Build-CE",
"task": "Backend | build CE",
"tooltip": "🛠️ Start the \"backend docker build CE\" task"
},
{
"label": "Docker : Build-SAAS",
"task": "Backend | build SAAS",
"tooltip": "🛠️ Start the \"backend docker build SAAS\" task"
},
{
"label": "Docker : Clear",
"task": "Backend | clear",
"tooltip": "🛠️ Start the \"backend docker clear\" task"
},
{
"label": "Docker : Stop",
"task": "Backend | stop",
"tooltip": "🛠️ Start the \"backend docker stop\" task"
},
{
"label": "Docker : Start",
"task": "Backend | start",
"tooltip": "🛠️ Start the \"backend docker start\" task"
},
{
"label": "Docker : Restart",
"task": "Backend | restart",
"tooltip": "🛠️ Start the \"backend docker restart\" task"
}
],
"tooltip": "🛠️ Server tasks"
},
{
"label": "S:Build-CE",
"task": "Backend | build CE",
"tooltip": "🛠️ Start the \"backend docker build CE\" task"
},
{
"label": "S:Build-SAAS",
"task": "Backend | build SAAS",
"tooltip": "🛠️ Start the \"backend docker build SAAS\" task"
},
{
"label": "S:Clear",
"task": "Backend | clear",
"tooltip": "🛠️ Start the \"backend docker clear\" task"
},
{
"label": "S:Stop",
"task": "Backend | stop",
"tooltip": "🛠️ Start the \"backend docker stop\" task"
},
{
"label": "S:Start",
"task": "Backend | start",
"tooltip": "🛠️ Start the \"backend docker start\" task"
},
{
"label": "S:Restart",
"task": "Backend | restart",
"tooltip": "🛠️ Start the \"backend docker restart\" task"
},
{
"label": "C:Start",
"task": "Frontend | start",
"tooltip": "🛠️ Start the \"frontend start\" task"
"label": "Client",
"tasks": [
{
"label": "Install",
"task": "Frontend | install",
"tooltip": "🛠️ Start the \"frontend install packages\" task"
},
{
"label": "Build",
"task": "Frontend | build",
"tooltip": "🛠️ Start the \"frontend build\" task"
},
{
"label": "Start",
"task": "Frontend | start",
"tooltip": "🛠️ Start the \"frontend start\" task"
},
{
"label": "Start prod",
"task": "Frontend | start-prod",
"tooltip": "🛠️ Start the \"frontend start production\" task"
}
],
"tooltip": "🛠️ Client tasks"
}
]
},