56 lines
1.5 KiB
JSON
56 lines
1.5 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"command": "dotnet",
|
|
"args": [],
|
|
"tasks": [
|
|
{
|
|
"label": "build",
|
|
"type": "shell",
|
|
"command": "dotnet",
|
|
"args": [
|
|
"build",
|
|
"${workspaceRoot}/Ooui.sln"
|
|
],
|
|
"problemMatcher": "$msCompile",
|
|
"group": {
|
|
"_id": "build",
|
|
"isDefault": false
|
|
}
|
|
},
|
|
{
|
|
"label": "test",
|
|
"type": "shell",
|
|
"command": "dotnet",
|
|
"args": [
|
|
"test",
|
|
"${workspaceRoot}/Tests/Tests.csproj"
|
|
],
|
|
"problemMatcher": {
|
|
"owner": "external",
|
|
"fileLocation": "absolute",
|
|
"severity": "error",
|
|
"pattern": [
|
|
{
|
|
"regexp": "^Error Message:\\s*$"
|
|
},
|
|
{
|
|
"regexp": "^\\s*(.*)$",
|
|
"message": 1
|
|
},
|
|
{
|
|
"regexp": "^Stack Trace:\\s*$"
|
|
},
|
|
{
|
|
"regexp": "^\\s*at (.*\\(\\)) in (.*):line (\\d+)$",
|
|
"file": 2,
|
|
"location": 3
|
|
}
|
|
]
|
|
},
|
|
"group": {
|
|
"_id": "test",
|
|
"isDefault": false
|
|
}
|
|
}
|
|
]
|
|
} |