Update tasks.json - improved python tasks
This commit is contained in:
parent
102f3b2b4f
commit
5a2e191034
59
.vscode/tasks.json
vendored
59
.vscode/tasks.json
vendored
@ -1,14 +1,10 @@
|
|||||||
{
|
{
|
||||||
"version": "2.0.0",
|
"version": "2.0.0",
|
||||||
"problemMatcher": [],
|
"problemMatcher": [],
|
||||||
"presentation": {
|
|
||||||
"focus": true,
|
|
||||||
"close": true
|
|
||||||
},
|
|
||||||
"tasks": [
|
"tasks": [
|
||||||
{
|
{
|
||||||
"label": "Backend | build",
|
"label": "Backend | build EE",
|
||||||
"command": "${command:python.interpreterPath} ${workspaceFolder}/../buildtools/build.backend.docker.py",
|
"command": "cd ${workspaceFolder}/../ ; ${command:python.interpreterPath} buildtools/build.backend.docker.py",
|
||||||
"type": "shell",
|
"type": "shell",
|
||||||
"group": {
|
"group": {
|
||||||
"kind": "build",
|
"kind": "build",
|
||||||
@ -17,12 +13,43 @@
|
|||||||
"presentation": {
|
"presentation": {
|
||||||
"reveal": "always",
|
"reveal": "always",
|
||||||
"panel": "new",
|
"panel": "new",
|
||||||
"focus": true
|
"focus": true,
|
||||||
|
"close": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "Backend | build CE",
|
||||||
|
"command": "cd ${workspaceFolder}/../ ; ${command:python.interpreterPath} buildtools/build.backend.docker.py -c",
|
||||||
|
"type": "shell",
|
||||||
|
"group": {
|
||||||
|
"kind": "build",
|
||||||
|
"isDefault": true
|
||||||
|
},
|
||||||
|
"presentation": {
|
||||||
|
"reveal": "always",
|
||||||
|
"panel": "new",
|
||||||
|
"focus": true,
|
||||||
|
"close": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "Backend | build SAAS",
|
||||||
|
"command": "cd ${workspaceFolder}/../ ; ${command:python.interpreterPath} buildtools/build.backend.docker.py -s",
|
||||||
|
"type": "shell",
|
||||||
|
"group": {
|
||||||
|
"kind": "build",
|
||||||
|
"isDefault": true
|
||||||
|
},
|
||||||
|
"presentation": {
|
||||||
|
"reveal": "always",
|
||||||
|
"panel": "new",
|
||||||
|
"focus": true,
|
||||||
|
"close": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"label": "Backend | clear",
|
"label": "Backend | clear",
|
||||||
"command": "${command:python.interpreterPath} ${workspaceFolder}/../buildtools/clear.backend.docker.py",
|
"command": "cd ${workspaceFolder}/../ ; ${command:python.interpreterPath} buildtools/clear.backend.docker.py",
|
||||||
"type": "shell",
|
"type": "shell",
|
||||||
"group": {
|
"group": {
|
||||||
"kind": "build",
|
"kind": "build",
|
||||||
@ -31,12 +58,13 @@
|
|||||||
"presentation": {
|
"presentation": {
|
||||||
"reveal": "always",
|
"reveal": "always",
|
||||||
"panel": "new",
|
"panel": "new",
|
||||||
"focus": true
|
"focus": true,
|
||||||
|
"close": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"label": "Backend | stop",
|
"label": "Backend | stop",
|
||||||
"command": "${command:python.interpreterPath} ${workspaceFolder}/../buildtools/start/stop.backend.docker.py",
|
"command": "cd ${workspaceFolder}/../ ; ${command:python.interpreterPath} buildtools/start/stop.backend.docker.py",
|
||||||
"type": "shell",
|
"type": "shell",
|
||||||
"group": {
|
"group": {
|
||||||
"kind": "build",
|
"kind": "build",
|
||||||
@ -45,12 +73,13 @@
|
|||||||
"presentation": {
|
"presentation": {
|
||||||
"reveal": "always",
|
"reveal": "always",
|
||||||
"panel": "new",
|
"panel": "new",
|
||||||
"focus": true
|
"focus": true,
|
||||||
|
"close": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"label": "Backend | start",
|
"label": "Backend | start",
|
||||||
"command": "${command:python.interpreterPath} ${workspaceFolder}/../buildtools/start/start.backend.docker.py",
|
"command": "cd ${workspaceFolder}/../ ; ${command:python.interpreterPath} buildtools/start/start.backend.docker.py",
|
||||||
"type": "shell",
|
"type": "shell",
|
||||||
"group": {
|
"group": {
|
||||||
"kind": "build",
|
"kind": "build",
|
||||||
@ -59,7 +88,8 @@
|
|||||||
"presentation": {
|
"presentation": {
|
||||||
"reveal": "always",
|
"reveal": "always",
|
||||||
"panel": "new",
|
"panel": "new",
|
||||||
"focus": true
|
"focus": true,
|
||||||
|
"close": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -73,7 +103,8 @@
|
|||||||
"presentation": {
|
"presentation": {
|
||||||
"reveal": "always",
|
"reveal": "always",
|
||||||
"panel": "new",
|
"panel": "new",
|
||||||
"focus": true
|
"focus": true,
|
||||||
|
"close": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user