2022-03-21 23:13:00 +01:00
|
|
|
{
|
|
|
|
"version": "2.0.0",
|
|
|
|
"tasks": [
|
2023-11-20 19:26:36 +01:00
|
|
|
{
|
|
|
|
"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",
|
|
|
|
],
|
|
|
|
},
|
2022-03-21 23:13:00 +01:00
|
|
|
{
|
|
|
|
"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"
|
|
|
|
},
|
2024-05-01 19:43:31 +02:00
|
|
|
{
|
|
|
|
"label": "buildEvents",
|
|
|
|
"command": "dotnet",
|
|
|
|
"type": "process",
|
|
|
|
"args": [
|
|
|
|
"build",
|
|
|
|
"${workspaceFolder}/src/Events/Events.csproj",
|
|
|
|
"/property:GenerateFullPaths=true",
|
|
|
|
"/consoleloggerparameters:NoSummary"
|
|
|
|
],
|
|
|
|
"problemMatcher": "$msCompile"
|
|
|
|
},
|
2022-03-21 23:13:00 +01:00
|
|
|
{
|
|
|
|
"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",
|
2022-05-10 23:12:09 +02:00
|
|
|
"isDefault": true
|
|
|
|
}
|
|
|
|
},
|
2022-11-01 14:58:28 +01:00
|
|
|
{
|
|
|
|
"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
|
|
|
|
}
|
|
|
|
},
|
2022-05-10 23:12:09 +02:00
|
|
|
{
|
|
|
|
"label": "buildBilling",
|
|
|
|
"command": "dotnet",
|
|
|
|
"type": "process",
|
|
|
|
"args": [
|
|
|
|
"build",
|
|
|
|
"${workspaceFolder}/src/Billing/Billing.csproj",
|
|
|
|
"/property:GenerateFullPaths=true",
|
|
|
|
"/consoleloggerparameters:NoSummary"
|
|
|
|
],
|
|
|
|
"problemMatcher": "$msCompile",
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
2022-03-21 23:13:00 +01:00
|
|
|
"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"
|
2023-12-08 21:14:49 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"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
|
2022-03-21 23:13:00 +01:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|