mirror of https://github.com/dotnet/tye.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
67 lines
1.9 KiB
67 lines
1.9 KiB
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "build",
|
|
"command": "dotnet",
|
|
"type": "process",
|
|
"args": [
|
|
"build",
|
|
"${workspaceFolder}/tye.sln",
|
|
"/property:GenerateFullPaths=true",
|
|
"/consoleloggerparameters:NoSummary"
|
|
],
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "format",
|
|
"command": "dotnet",
|
|
"type": "process",
|
|
"args": [
|
|
"dotnet-format",
|
|
"-w ${workspaceFolder}/tye.sln"
|
|
],
|
|
"problemMatcher": {
|
|
"fileLocation": [
|
|
"relative",
|
|
"${workspaceFolder}"
|
|
],
|
|
"severity": "warning",
|
|
"source": "dotnet format",
|
|
"pattern": {
|
|
"regexp": "^\\s+(.*)\\((\\d+),(\\d+)\\):\\s+(.*)$",
|
|
"file": 1,
|
|
"line": 2,
|
|
"column": 3,
|
|
"message": 4,
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"label": "format-check",
|
|
"command": "dotnet",
|
|
"type": "process",
|
|
"args": [
|
|
"dotnet-format",
|
|
"-w ${workspaceFolder}/tye.sln",
|
|
"--check",
|
|
"--dry-run"
|
|
],
|
|
"problemMatcher": {
|
|
"fileLocation": [
|
|
"relative",
|
|
"${workspaceFolder}"
|
|
],
|
|
"severity": "warning",
|
|
"source": "dotnet format",
|
|
"pattern": {
|
|
"regexp": "^\\s+(.*)\\((\\d+),(\\d+)\\):\\s+(.*)$",
|
|
"file": 1,
|
|
"line": 2,
|
|
"column": 3,
|
|
"message": 4,
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|