82 lines
2.5 KiB
JSON
82 lines
2.5 KiB
JSON
{
|
|
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
|
// for the documentation about the tasks.json format
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "build",
|
|
"command": "dotnet",
|
|
"type": "shell",
|
|
"args": [
|
|
"build",
|
|
"/property:GenerateFullPaths=true", // Ask dotnet build to generate full paths for file names.
|
|
"/consoleloggerparameters:'ForceNoAlign;NoSummary'" // Do not generate summary otherwise it leads to duplicate errors in Problems panel
|
|
],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
},
|
|
"presentation": {
|
|
"reveal": "silent"
|
|
},
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "build-yaml-linter",
|
|
"command": "dotnet",
|
|
"type": "process",
|
|
"args": [
|
|
"build",
|
|
"${workspaceFolder}/Content.YAMLLinter/Content.YAMLLinter.csproj",
|
|
"/property:GenerateFullPaths=true",
|
|
"/consoleloggerparameters:'ForceNoAlign;NoSummary'"
|
|
],
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "test",
|
|
"command": "dotnet",
|
|
"type": "shell",
|
|
"args": [
|
|
"test",
|
|
"--no-build",
|
|
"--configuration",
|
|
"DebugOpt",
|
|
"Content.Tests/Content.Tests.csproj",
|
|
"--",
|
|
"NUnit.ConsoleOut=0"
|
|
],
|
|
"group": {
|
|
"kind": "test"
|
|
},
|
|
"presentation": {
|
|
"reveal": "silent"
|
|
},
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "integration-test",
|
|
"command": "dotnet",
|
|
"type": "shell",
|
|
"args": [
|
|
"test",
|
|
"--no-build",
|
|
"--configuration",
|
|
"DebugOpt",
|
|
"Content.IntegrationTests/Content.IntegrationTests.csproj",
|
|
"--",
|
|
"NUnit.ConsoleOut=0",
|
|
"NUnit.MapWarningTo=Failed.ConsoleOut=0",
|
|
"NUnit.MapWarningTo=Failed"
|
|
],
|
|
"group": {
|
|
"kind": "test"
|
|
},
|
|
"presentation": {
|
|
"reveal": "silent"
|
|
},
|
|
"problemMatcher": "$msCompile"
|
|
}
|
|
]
|
|
}
|