176 lines
5.2 KiB
JSON
176 lines
5.2 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "User Secrets Init",
|
|
"command": "dotnet",
|
|
"type": "process",
|
|
"args": [
|
|
"user-secrets",
|
|
"-p",
|
|
"${workspaceFolder}/src/OriginalToDeterministicHashCode/OriginalToDeterministicHashCode.csproj",
|
|
"init"
|
|
],
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "User Secrets Set",
|
|
"command": "dotnet",
|
|
"type": "process",
|
|
"args": [
|
|
"user-secrets",
|
|
"-p",
|
|
"${workspaceFolder}/src/OriginalToDeterministicHashCode/OriginalToDeterministicHashCode.csproj",
|
|
"set",
|
|
"_UserSecretsId",
|
|
"2f63ace9-efe5-4b0a-9ebe-529309f33e3f"
|
|
],
|
|
"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/OriginalToDeterministicHashCode/OriginalToDeterministicHashCode.csproj",
|
|
"/property:GenerateFullPaths=true",
|
|
"/consoleloggerparameters:NoSummary"
|
|
],
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "publish",
|
|
"command": "dotnet",
|
|
"type": "process",
|
|
"args": [
|
|
"publish",
|
|
"${workspaceFolder}/src/OriginalToDeterministicHashCode/OriginalToDeterministicHashCode.csproj",
|
|
"/property:GenerateFullPaths=true",
|
|
"/consoleloggerparameters:NoSummary"
|
|
],
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "watch",
|
|
"command": "dotnet",
|
|
"type": "process",
|
|
"args": [
|
|
"watch",
|
|
"run",
|
|
"--project",
|
|
"${workspaceFolder}/src/OriginalToDeterministicHashCode/OriginalToDeterministicHashCode.csproj"
|
|
],
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "podmanLogin",
|
|
"command": "podman",
|
|
"type": "process",
|
|
"args": [
|
|
"login",
|
|
"gitea.phares.duckdns.org:443"
|
|
],
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "podmanBuild",
|
|
"command": "podman",
|
|
"type": "process",
|
|
"args": [
|
|
"build",
|
|
"-t",
|
|
"original-to-deterministic-hash-code",
|
|
"."
|
|
],
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "podmanImageList",
|
|
"command": "podman",
|
|
"type": "process",
|
|
"args": [
|
|
"image",
|
|
"ls"
|
|
],
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "podmanRun",
|
|
"command": "podman",
|
|
"type": "process",
|
|
"args": [
|
|
"run",
|
|
"-p",
|
|
"5001:5001",
|
|
"--name",
|
|
"original-to-deterministic-hash-code-api-001",
|
|
"a3de856b5731"
|
|
],
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "podmanTag",
|
|
"command": "podman",
|
|
"type": "process",
|
|
"args": [
|
|
"tag",
|
|
"a3de856b5731",
|
|
"gitea.phares.duckdns.org:443/phares3757/original-to-deterministic-hash-code:latest"
|
|
],
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "podmanPush",
|
|
"command": "podman",
|
|
"type": "process",
|
|
"args": [
|
|
"push",
|
|
"gitea.phares.duckdns.org:443/phares3757/original-to-deterministic-hash-code:latest"
|
|
],
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "Publish AOT",
|
|
"command": "dotnet",
|
|
"type": "process",
|
|
"args": [
|
|
"publish",
|
|
"-r",
|
|
"win-x64",
|
|
"-c",
|
|
"Release",
|
|
"-p:PublishAot=true",
|
|
"${workspaceFolder}/src/OriginalToDeterministicHashCode/OriginalToDeterministicHashCode.csproj",
|
|
"/property:GenerateFullPaths=true",
|
|
"/consoleloggerparameters:NoSummary"
|
|
],
|
|
"problemMatcher": "$msCompile"
|
|
}
|
|
]
|
|
} |