187 lines
5.3 KiB
JSON
187 lines
5.3 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "User Secrets Init",
|
|
"command": "dotnet",
|
|
"type": "process",
|
|
"args": [
|
|
"user-secrets",
|
|
"-p",
|
|
"${workspaceFolder}/src/ImmichToSlideshow/ImmichToSlideshow.csproj",
|
|
"init"
|
|
],
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "User Secrets Set",
|
|
"command": "dotnet",
|
|
"type": "process",
|
|
"args": [
|
|
"user-secrets",
|
|
"-p",
|
|
"${workspaceFolder}/src/ImmichToSlideshow/ImmichToSlideshow.csproj",
|
|
"set",
|
|
"_UserSecretsId",
|
|
"cc24ad7a-1d95-4c47-a3ea-0d8475ab06da"
|
|
],
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "Format",
|
|
"command": "dotnet",
|
|
"type": "process",
|
|
"args": [
|
|
"format",
|
|
"--report",
|
|
".vscode",
|
|
"--verbosity",
|
|
"detailed",
|
|
"--severity",
|
|
"warn"
|
|
],
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "Format-Whitespaces",
|
|
"command": "dotnet",
|
|
"type": "process",
|
|
"args": [
|
|
"format",
|
|
"whitespace"
|
|
],
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "build",
|
|
"command": "dotnet",
|
|
"type": "process",
|
|
"args": [
|
|
"build",
|
|
"${workspaceFolder}/src/ImmichToSlideshow/ImmichToSlideshow.csproj",
|
|
"/property:GenerateFullPaths=true",
|
|
"/consoleloggerparameters:NoSummary"
|
|
],
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "publish",
|
|
"command": "dotnet",
|
|
"type": "process",
|
|
"args": [
|
|
"publish",
|
|
"${workspaceFolder}/src/ImmichToSlideshow/ImmichToSlideshow.csproj",
|
|
"/property:GenerateFullPaths=true",
|
|
"/consoleloggerparameters:NoSummary"
|
|
],
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "watch",
|
|
"command": "dotnet",
|
|
"type": "process",
|
|
"args": [
|
|
"watch",
|
|
"run",
|
|
"--project",
|
|
"${workspaceFolder}/src/ImmichToSlideshow/ImmichToSlideshow.csproj"
|
|
],
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "podman-login",
|
|
"command": "podman",
|
|
"type": "process",
|
|
"args": [
|
|
"login",
|
|
"gitea.phares.duckdns.org:443"
|
|
],
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "podman-compose-up-build",
|
|
"command": "podman",
|
|
"type": "process",
|
|
"args": [
|
|
"compose",
|
|
"up",
|
|
"--build"
|
|
],
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "podman-build",
|
|
"command": "podman",
|
|
"type": "process",
|
|
"args": [
|
|
"build",
|
|
"-t",
|
|
"immich-to-slideshow",
|
|
"."
|
|
],
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "podman-image-list",
|
|
"command": "podman",
|
|
"type": "process",
|
|
"args": [
|
|
"image",
|
|
"ls"
|
|
],
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "podman-run",
|
|
"command": "podman",
|
|
"type": "process",
|
|
"args": [
|
|
"run",
|
|
"-p",
|
|
"5001:5001",
|
|
"--name",
|
|
"immich-to-slideshow_webapp",
|
|
"a3de856b5731"
|
|
],
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "podman-tag",
|
|
"command": "podman",
|
|
"type": "process",
|
|
"args": [
|
|
"tag",
|
|
"asdf",
|
|
"gitea.phares.duckdns.org:443/phares3757/immich-to-slideshow:latest"
|
|
],
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "podman-push",
|
|
"command": "podman",
|
|
"type": "process",
|
|
"args": [
|
|
"push",
|
|
"gitea.phares.duckdns.org:443/phares3757/immich-to-slideshow:latest"
|
|
],
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "Publish AOT",
|
|
"command": "dotnet",
|
|
"type": "process",
|
|
"args": [
|
|
"publish",
|
|
"-r",
|
|
"win-x64",
|
|
"-c",
|
|
"Release",
|
|
"-p:PublishAot=true",
|
|
"${workspaceFolder}/src/ImmichToSlideshow/ImmichToSlideshow.csproj",
|
|
"/property:GenerateFullPaths=true",
|
|
"/consoleloggerparameters:NoSummary"
|
|
],
|
|
"problemMatcher": "$msCompile"
|
|
}
|
|
]
|
|
} |