mirror of
https://github.com/edgebox-iot/edgeboxctl.git
synced 2026-09-24 05:41:43 +02:00
* Implemented scaffolding for BrowserDev tasks and implemented taskGetBrowserDevPassword * Added SetBrowserDevPasswordFile and ReplaceTextInFile funcs * Added browserDevProxyPath * Polished code and added missing pieces * Improved Makefile with info and install + build processes * Added vscode tasks support * Added run command and reverted build-all to old logic, added run vscode task * Added GetBrowserDevStatus task and into schedules * Fixed check for tasks.GetBrowserStatus() * Reverted to no result log in Exec command
236 lines
6.1 KiB
JSON
236 lines
6.1 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "Build",
|
|
"type": "shell",
|
|
"command": "make",
|
|
"args": ["build"],
|
|
"options": {
|
|
"cwd": "${workspaceFolder}"
|
|
|
|
},
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
},
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Build All",
|
|
"type": "shell",
|
|
"command": "make",
|
|
"args": ["build-all"],
|
|
"options": {
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
"group": "build",
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Build Prod",
|
|
"type": "shell",
|
|
"command": "make",
|
|
"args": ["build-prod"],
|
|
"options": {
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
"group": "build",
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Build Cloud",
|
|
"type": "shell",
|
|
"command": "make",
|
|
"args": ["build-cloud"],
|
|
"options": {
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
"group": "build",
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Build ARM64",
|
|
"type": "shell",
|
|
"command": "make",
|
|
"args": ["build-arm64"],
|
|
"options": {
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
"group": "build",
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Build ARMHF",
|
|
"type": "shell",
|
|
"command": "make",
|
|
"args": ["build-armhf"],
|
|
"options": {
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
"group": "build",
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Build AMD64",
|
|
"type": "shell",
|
|
"command": "make",
|
|
"args": ["build-amd64"],
|
|
"options": {
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
"group": "build",
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Clean",
|
|
"type": "shell",
|
|
"command": "make",
|
|
"args": ["clean"],
|
|
"options": {
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Test",
|
|
"type": "shell",
|
|
"command": "make",
|
|
"args": ["test"],
|
|
"options": {
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Test with Coverage",
|
|
"type": "shell",
|
|
"command": "make",
|
|
"args": ["test-with-coverage"],
|
|
"options": {
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Run",
|
|
"type": "shell",
|
|
"command": "make",
|
|
"args": ["run"],
|
|
"options": {
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Install",
|
|
"type": "shell",
|
|
"command": "make",
|
|
"args": ["install"],
|
|
"options": {
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Install Prod",
|
|
"type": "shell",
|
|
"command": "make",
|
|
"args": ["install-prod"],
|
|
"options": {
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Install Cloud",
|
|
"type": "shell",
|
|
"command": "make",
|
|
"args": ["install-cloud"],
|
|
"options": {
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Install ARM64",
|
|
"type": "shell",
|
|
"command": "make",
|
|
"args": ["install-arm64"],
|
|
"options": {
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Install ARMHF",
|
|
"type": "shell",
|
|
"command": "make",
|
|
"args": ["install-armhf"],
|
|
"options": {
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Install AMD64",
|
|
"type": "shell",
|
|
"command": "make",
|
|
"args": ["install-amd64"],
|
|
"options": {
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Start",
|
|
"type": "shell",
|
|
"command": "make",
|
|
"args": ["start"],
|
|
"options": {
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Stop",
|
|
"type": "shell",
|
|
"command": "make",
|
|
"args": ["stop"],
|
|
"options": {
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Restart",
|
|
"type": "shell",
|
|
"command": "make",
|
|
"args": ["restart"],
|
|
"options": {
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Status",
|
|
"type": "shell",
|
|
"command": "make",
|
|
"args": ["status"],
|
|
"options": {
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Logs",
|
|
"type": "shell",
|
|
"command": "make",
|
|
"args": ["log"],
|
|
"options": {
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
"problemMatcher": []
|
|
}
|
|
]
|
|
} |