Files
networkSetup/.vscode/tasks.json
T

59 lines
1.8 KiB
JSON

{
"version": "2.0.0",
"tasks": [
{
"label": "MSIX: install frontend dependencies",
"type": "shell",
"command": "npm.cmd",
"args": ["ci", "--no-audit", "--no-fund"],
"options": {
"cwd": "${workspaceFolder}/src/apps/desktop",
"shell": { "executable": "cmd.exe", "args": ["/d", "/c"] }
},
"problemMatcher": []
},
{
"label": "MSIX: build frontend",
"type": "shell",
"command": "npm.cmd",
"args": ["run", "build"],
"options": {
"cwd": "${workspaceFolder}/src/apps/desktop",
"shell": { "executable": "cmd.exe", "args": ["/d", "/c"] }
},
"dependsOn": "MSIX: install frontend dependencies",
"dependsOrder": "sequence",
"problemMatcher": []
},
{
"label": "MSIX: build desktop (debug)",
"type": "process",
"command": "cargo",
"args": ["build", "--locked", "-p", "msix-studio", "--features", "custom-protocol", "--target-dir", "target/vscode"],
"options": { "cwd": "${workspaceFolder}/src" },
"dependsOn": "MSIX: build frontend",
"dependsOrder": "sequence",
"problemMatcher": [],
"group": { "kind": "build", "isDefault": true }
},
{
"label": "MSIX: build CLI (debug)",
"type": "process",
"command": "cargo",
"args": ["build", "--locked", "-p", "package-builder", "--target-dir", "target/vscode"],
"options": { "cwd": "${workspaceFolder}/src" },
"problemMatcher": [],
"group": "build"
},
{
"label": "MSIX: test Rust",
"type": "process",
"command": "cargo",
"args": ["test", "--locked", "--workspace", "--target-dir", "target/vscode"],
"options": { "cwd": "${workspaceFolder}/src" },
"problemMatcher": [],
"group": { "kind": "test", "isDefault": true }
}
]
}