163 lines
5.0 KiB
JSON
163 lines
5.0 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "User Secrets Init",
|
|
"command": "dotnet",
|
|
"type": "process",
|
|
"args": [
|
|
"user-secrets",
|
|
"-p",
|
|
"${workspaceFolder}/Snap2HTML.sln",
|
|
"init"
|
|
],
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "User Secrets Set",
|
|
"command": "dotnet",
|
|
"type": "process",
|
|
"args": [
|
|
"user-secrets",
|
|
"-p",
|
|
"${workspaceFolder}/Snap2HTML.sln",
|
|
"set",
|
|
"_UserSecretsId",
|
|
"0c43f9aa-96e9-4298-967c-ed069d79e262"
|
|
],
|
|
"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",
|
|
"-r",
|
|
"win-x64",
|
|
"${workspaceFolder}/Snap2HTML.sln",
|
|
"/property:GenerateFullPaths=true",
|
|
"/consoleloggerparameters:NoSummary"
|
|
],
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "build Linux",
|
|
"command": "dotnet",
|
|
"type": "process",
|
|
"args": [
|
|
"build",
|
|
"-r",
|
|
"linux-x64",
|
|
"${workspaceFolder}/Snap2HTML.sln",
|
|
"/property:GenerateFullPaths=true",
|
|
"/consoleloggerparameters:NoSummary"
|
|
],
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "publish",
|
|
"command": "dotnet",
|
|
"type": "process",
|
|
"args": [
|
|
"publish",
|
|
"${workspaceFolder}/Snap2HTML.sln",
|
|
"/property:GenerateFullPaths=true",
|
|
"/consoleloggerparameters:NoSummary"
|
|
],
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "watch",
|
|
"command": "dotnet",
|
|
"type": "process",
|
|
"args": [
|
|
"watch",
|
|
"run",
|
|
"--project",
|
|
"${workspaceFolder}/Snap2HTML.sln"
|
|
],
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "Publish AOT",
|
|
"command": "dotnet",
|
|
"type": "process",
|
|
"args": [
|
|
"publish",
|
|
"-r",
|
|
"win-x64",
|
|
"-c",
|
|
"Release",
|
|
"-p:PublishAot=true",
|
|
"${workspaceFolder}/Snap2HTML.sln",
|
|
"/property:GenerateFullPaths=true",
|
|
"/consoleloggerparameters:NoSummary"
|
|
],
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "Publish AOT Linux",
|
|
"command": "dotnet",
|
|
"type": "process",
|
|
"args": [
|
|
"publish",
|
|
"-r",
|
|
"linux-x64",
|
|
"-c",
|
|
"Release",
|
|
"-p:PublishAot=true",
|
|
"${workspaceFolder}/Snap2HTML.sln",
|
|
"/property:GenerateFullPaths=true",
|
|
"/consoleloggerparameters:NoSummary"
|
|
],
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "MSBuild for EAF Deployment Packages",
|
|
"command": "C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/MSBuild/Current/Bin/MSBuild.exe",
|
|
"type": "process",
|
|
"args": [
|
|
"/target:Build",
|
|
"/restore:True",
|
|
"/p:RestoreSources=https://artifactory.intra.infineon.com/artifactory/api/nuget/ngt-fi-package-main-vir/%3Bhttps://tfs.intra.infineon.com/tfs/FactoryIntegration/_packaging/EAF/nuget/v3/index.json%3Bhttps://tfs.intra.infineon.com/tfs/FactoryIntegration/_packaging/EAF%40Local/nuget/v3/index.json%3Bhttps://api.nuget.org/v3/index.json",
|
|
"/detailedsummary",
|
|
"/consoleloggerparameters:PerformanceSummary;ErrorsOnly;",
|
|
"/property:Configuration=Debug;TargetFrameworkVersion=v4.8",
|
|
"Snap2HTML.sln"
|
|
],
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "Jest",
|
|
"type": "shell",
|
|
"command": "npx jest",
|
|
"problemMatcher": []
|
|
}
|
|
]
|
|
} |