Skip to content

Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.

Add combined client build task and unit test task (#542)

Leendert de Borstcb78d8a6367a
diff --git a/.vscode/tasks.json b/.vscode/tasks.json
index 7512e80a7..d0129130f 100644
--- a/.vscode/tasks.json
+++ b/.vscode/tasks.json
@@ -2,7 +2,7 @@
"version": "2.0.0",
"tasks": [
{
- "label": "Run and watch API",
+ "label": "Build and watch API",
"type": "shell",
"command": "dotnet watch",
"args": [],
@@ -16,7 +16,7 @@
}
},
{
- "label": "Run and watch Client",
+ "label": "Build and watch Client",
"type": "shell",
"command": "dotnet watch",
"args": [],
@@ -30,7 +30,7 @@
}
},
{
- "label": "Run and watch Admin",
+ "label": "Build and watch Admin",
"type": "shell",
"command": "dotnet watch",
"args": [],
@@ -42,6 +42,61 @@
"options": {
"cwd": "${workspaceFolder}/src/AliasVault.Admin"
}
+ },
+ {
+ "label": "Build and watch Client CSS",
+ "type": "shell",
+ "command": "npm",
+ "args": ["run", "build:client-css"],
+ "problemMatcher": [],
+ "options": {
+ "cwd": "${workspaceFolder}/src/AliasVault.Client"
+ },
+ "group": {
+ "kind": "build",
+ "isDefault": true
+ }
+ },
+ {
+ "label": "Build and watch Admin CSS",
+ "type": "shell",
+ "command": "npm",
+ "args": ["run", "build:admin-css"],
+ "problemMatcher": [],
+ "options": {
+ "cwd": "${workspaceFolder}/src/AliasVault.Admin"
+ },
+ "group": {
+ "kind": "build",
+ "isDefault": true
+ }
+ },
+ {
+ "label": "Build and watch Client (API + Client + CSS)",
+ "dependsOn": [
+ "Build and watch API",
+ "Build and watch Client",
+ "Build and watch Client CSS"
+ ],
+ "problemMatcher": [],
+ "group": {
+ "kind": "build",
+ "isDefault": true
+ }
+ },
+ {
+ "label": "Run Unit Tests",
+ "type": "shell",
+ "command": "dotnet",
+ "args": ["test"],
+ "problemMatcher": "$msCompile",
+ "options": {
+ "cwd": "${workspaceFolder}/src/Tests/AliasVault.UnitTests"
+ },
+ "group": {
+ "kind": "test",
+ "isDefault": true
+ }
}
]
}