2023-03-16 10:22:32 +00:00
|
|
|
{
|
|
|
|
"version": "2.0.0",
|
|
|
|
"problemMatcher": [],
|
|
|
|
"tasks": [
|
2023-03-16 13:30:37 +00:00
|
|
|
{
|
2023-11-02 20:12:59 +00:00
|
|
|
"label": "Backend | build EE",
|
|
|
|
"command": "cd ${workspaceFolder}/../ ; ${command:python.interpreterPath} buildtools/build.backend.docker.py",
|
2023-03-16 13:30:37 +00:00
|
|
|
"type": "shell",
|
2023-11-02 14:30:58 +00:00
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
},
|
|
|
|
"presentation": {
|
|
|
|
"reveal": "always",
|
|
|
|
"panel": "new",
|
2023-11-02 20:12:59 +00:00
|
|
|
"focus": true,
|
|
|
|
"close": false
|
|
|
|
}
|
|
|
|
},
|
2023-11-10 09:55:26 +00:00
|
|
|
{
|
|
|
|
"label": "Backend | rebuild EE",
|
|
|
|
"command": "cd ${workspaceFolder}/../ ; ${command:python.interpreterPath} buildtools/build.backend.docker.py -f",
|
|
|
|
"type": "shell",
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
},
|
|
|
|
"presentation": {
|
|
|
|
"reveal": "always",
|
|
|
|
"panel": "new",
|
|
|
|
"focus": true,
|
|
|
|
"close": false
|
|
|
|
}
|
|
|
|
},
|
2023-11-02 20:12:59 +00:00
|
|
|
{
|
|
|
|
"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
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2023-11-10 09:55:26 +00:00
|
|
|
"label": "Backend | build SAAS + dnsmasq",
|
|
|
|
"command": "cd ${workspaceFolder}/../ ; ${command:python.interpreterPath} buildtools/build.backend.docker.py -s -d",
|
|
|
|
"type": "shell",
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
},
|
|
|
|
"presentation": {
|
|
|
|
"reveal": "always",
|
|
|
|
"panel": "new",
|
|
|
|
"focus": true,
|
|
|
|
"close": false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Backend | build EE + dnsmasq",
|
|
|
|
"command": "cd ${workspaceFolder}/../ ; ${command:python.interpreterPath} buildtools/build.backend.docker.py -d",
|
2023-11-02 20:12:59 +00:00
|
|
|
"type": "shell",
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
},
|
|
|
|
"presentation": {
|
|
|
|
"reveal": "always",
|
|
|
|
"panel": "new",
|
|
|
|
"focus": true,
|
|
|
|
"close": false
|
2023-11-02 14:30:58 +00:00
|
|
|
}
|
2023-03-22 12:11:10 +00:00
|
|
|
},
|
|
|
|
{
|
2023-11-02 14:36:06 +00:00
|
|
|
"label": "Backend | clear",
|
2023-11-02 20:12:59 +00:00
|
|
|
"command": "cd ${workspaceFolder}/../ ; ${command:python.interpreterPath} buildtools/clear.backend.docker.py",
|
2023-03-22 12:11:10 +00:00
|
|
|
"type": "shell",
|
2023-11-02 14:30:58 +00:00
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
},
|
|
|
|
"presentation": {
|
|
|
|
"reveal": "always",
|
|
|
|
"panel": "new",
|
2023-11-02 20:12:59 +00:00
|
|
|
"focus": true,
|
|
|
|
"close": false
|
2023-03-16 13:41:54 +00:00
|
|
|
}
|
2023-03-16 13:30:37 +00:00
|
|
|
},
|
2023-03-16 10:22:32 +00:00
|
|
|
{
|
2023-11-02 14:36:06 +00:00
|
|
|
"label": "Backend | stop",
|
2023-11-02 20:12:59 +00:00
|
|
|
"command": "cd ${workspaceFolder}/../ ; ${command:python.interpreterPath} buildtools/start/stop.backend.docker.py",
|
2023-03-16 10:22:32 +00:00
|
|
|
"type": "shell",
|
2023-11-02 14:30:58 +00:00
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
},
|
|
|
|
"presentation": {
|
|
|
|
"reveal": "always",
|
|
|
|
"panel": "new",
|
2023-11-02 20:12:59 +00:00
|
|
|
"focus": true,
|
|
|
|
"close": false
|
2023-03-22 12:11:10 +00:00
|
|
|
}
|
2023-03-16 10:22:32 +00:00
|
|
|
},
|
2023-11-03 21:52:06 +00:00
|
|
|
{
|
|
|
|
"label": "Backend | restart",
|
|
|
|
"command": "cd ${workspaceFolder}/../ ; ${command:python.interpreterPath} buildtools/start/restart.backend.docker.py",
|
|
|
|
"type": "shell",
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
},
|
|
|
|
"presentation": {
|
|
|
|
"reveal": "always",
|
|
|
|
"panel": "new",
|
|
|
|
"focus": true,
|
|
|
|
"close": false
|
|
|
|
}
|
|
|
|
},
|
2023-03-16 10:22:32 +00:00
|
|
|
{
|
2023-11-02 14:36:06 +00:00
|
|
|
"label": "Backend | start",
|
2023-11-02 20:12:59 +00:00
|
|
|
"command": "cd ${workspaceFolder}/../ ; ${command:python.interpreterPath} buildtools/start/start.backend.docker.py",
|
2023-03-16 10:22:32 +00:00
|
|
|
"type": "shell",
|
2023-11-02 14:30:58 +00:00
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
},
|
|
|
|
"presentation": {
|
|
|
|
"reveal": "always",
|
|
|
|
"panel": "new",
|
2023-11-02 20:12:59 +00:00
|
|
|
"focus": true,
|
|
|
|
"close": false
|
2023-03-16 10:22:32 +00:00
|
|
|
}
|
|
|
|
},
|
2023-11-07 11:07:51 +00:00
|
|
|
{
|
|
|
|
"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
|
|
|
|
}
|
|
|
|
},
|
2023-03-16 10:22:32 +00:00
|
|
|
{
|
2023-11-02 14:30:58 +00:00
|
|
|
"label": "Frontend | start",
|
2023-03-16 10:22:32 +00:00
|
|
|
"type": "shell",
|
2023-11-02 14:30:58 +00:00
|
|
|
"command": "cd ${workspaceFolder} ; yarn start",
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
},
|
|
|
|
"presentation": {
|
|
|
|
"reveal": "always",
|
|
|
|
"panel": "new",
|
2023-11-02 20:12:59 +00:00
|
|
|
"focus": true,
|
2023-11-07 11:07:51 +00:00
|
|
|
"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
|
2023-03-22 12:11:10 +00:00
|
|
|
}
|
2023-03-16 10:22:32 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|