{ "version": "2.0.0", "tasks": [ { "label": "buildIdentityApi", "dependsOrder": "sequence", "dependsOn": [ "buildIdentity", "buildAPI" ], "problemMatcher": [ "$msCompile" ] }, { "label": "buildIdentityApiAdmin", "dependsOrder": "sequence", "dependsOn": [ "buildIdentity", "buildAPI", "buildAdmin" ], "problemMatcher": [ "$msCompile" ] }, { "label": "buildFullServer", "dependsOrder": "sequence", "dependsOn": [ "buildAdmin", "buildAPI", "buildEventsProcessor", "buildIdentity", "buildSso", "buildIcons", "buildBilling", "buildNotifications", ], }, { "label": "buildSelfHostBit", "dependsOrder": "sequence", "dependsOn": [ "buildAdmin", "buildAPI", "buildEventsProcessor", "buildIdentity", "buildSso", "buildNotifications", ], }, { "label": "buildSelfHostOss", "dependsOrder": "sequence", "dependsOn": [ "buildAdmin", "buildAPI", "buildEventsProcessor", "buildIdentity", ], }, { "label": "buildIcons", "command": "dotnet", "type": "process", "args": [ "build", "${workspaceFolder}/src/Icons/Icons.csproj", "/property:GenerateFullPaths=true", "/consoleloggerparameters:NoSummary" ], "problemMatcher": "$msCompile" }, { "label": "buildPortal", "command": "dotnet", "type": "process", "args": [ "build", "${workspaceFolder}/bitwarden_license/src/Portal/Portal.csproj", "/property:GenerateFullPaths=true", "/consoleloggerparameters:NoSummary" ], "problemMatcher": "$msCompile" }, { "label": "buildSso", "command": "dotnet", "type": "process", "args": [ "build", "${workspaceFolder}/bitwarden_license/src/Sso/Sso.csproj", "/property:GenerateFullPaths=true", "/consoleloggerparameters:NoSummary" ], "problemMatcher": "$msCompile" }, { "label": "buildEvents", "command": "dotnet", "type": "process", "args": [ "build", "${workspaceFolder}/src/Events/Events.csproj", "/property:GenerateFullPaths=true", "/consoleloggerparameters:NoSummary" ], "problemMatcher": "$msCompile" }, { "label": "buildEventsProcessor", "command": "dotnet", "type": "process", "args": [ "build", "${workspaceFolder}/src/EventsProcessor/EventsProcessor.csproj", "/property:GenerateFullPaths=true", "/consoleloggerparameters:NoSummary" ], "problemMatcher": "$msCompile" }, { "label": "buildAdmin", "command": "dotnet", "type": "process", "args": [ "build", "${workspaceFolder}/src/Admin/Admin.csproj", "/property:GenerateFullPaths=true", "/consoleloggerparameters:NoSummary" ], "problemMatcher": "$msCompile" }, { "label": "buildIdentity", "command": "dotnet", "type": "process", "args": [ "build", "${workspaceFolder}/src/Identity/Identity.csproj", "/property:GenerateFullPaths=true", "/consoleloggerparameters:NoSummary" ], "problemMatcher": "$msCompile" }, { "label": "buildAPI", "command": "dotnet", "type": "process", "args": [ "build", "${workspaceFolder}/src/Api/Api.csproj", "/property:GenerateFullPaths=true", "/consoleloggerparameters:NoSummary" ], "problemMatcher": "$msCompile", "group": { "kind": "build", "isDefault": true } }, { "label": "buildNotifications", "command": "dotnet", "type": "process", "args": [ "build", "${workspaceFolder}/src/Notifications/Notifications.csproj", "/property:GenerateFullPaths=true", "/consoleloggerparameters:NoSummary" ], "problemMatcher": "$msCompile", "group": { "kind": "build", "isDefault": true } }, { "label": "buildBilling", "command": "dotnet", "type": "process", "args": [ "build", "${workspaceFolder}/src/Billing/Billing.csproj", "/property:GenerateFullPaths=true", "/consoleloggerparameters:NoSummary" ], "problemMatcher": "$msCompile", "group": { "kind": "build", "isDefault": true } }, { "label": "clean", "type": "shell", "command": "dotnet clean", "presentation": { "echo": true, "reveal": "always", "focus": false, "panel": "shared", "showReuseMessage": true, "clear": false }, "problemMatcher": "$msCompile" }, { "label": "test", "type": "shell", "command": "dotnet test", "group": { "kind": "test", "isDefault": true }, "presentation": { "echo": true, "reveal": "always", "focus": false, "panel": "shared", "showReuseMessage": true, "clear": false }, "problemMatcher": "$msCompile" }, { "label": "Setup Secrets", "type": "shell", "command": "pwsh -WorkingDirectory ${workspaceFolder}/dev -Command '${workspaceFolder}/dev/setup_secrets.ps1 -clear:$${input:setupSecretsClear}'", "problemMatcher": [] }, { "label": "Install Dev Cert", "type": "shell", "command": "dotnet tool install -g dotnet-certificate-tool -g && certificate-tool add --file ${workspaceFolder}/dev/dev.pfx --password '${input:certPassword}'", "problemMatcher": [] } ], "inputs": [ { "id": "setupSecretsClear", "type": "pickString", "default": "true", "description": "Whether or not to clear existing secrets", "options": [ { "label": "true", "value": "true" }, { "label": "false", "value": "false" } ] }, { "id": "certPassword", "type": "promptString", "description": "Password for your dev certificate.", "password": true } ] }