- adds vs code configuration to the repository
This commit is contained in:
parent
75f293ef08
commit
cd36d59f7b
7
.vscode/extensions.json
vendored
Normal file
7
.vscode/extensions.json
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"recommendations": [
|
||||
"formulahendry.dotnet-test-explorer",
|
||||
"ms-dotnettools.csharp",
|
||||
"editorconfig.editorconfig"
|
||||
]
|
||||
}
|
11
.vscode/launch.json
vendored
Normal file
11
.vscode/launch.json
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"name": ".NET Core Attach",
|
||||
"type": "coreclr",
|
||||
"request": "attach",
|
||||
"processId": "${command:pickProcess}"
|
||||
}
|
||||
]
|
||||
}
|
9
.vscode/settings.json
vendored
Normal file
9
.vscode/settings.json
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"omnisharp.enableRoslynAnalyzers": true,
|
||||
"markdownlint.config": {
|
||||
"MD028": false,
|
||||
"MD025": {
|
||||
"front_matter_title": ""
|
||||
}
|
||||
}
|
||||
}
|
144
.vscode/tasks.json
vendored
Normal file
144
.vscode/tasks.json
vendored
Normal file
|
@ -0,0 +1,144 @@
|
|||
{
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "build",
|
||||
"command": "dotnet",
|
||||
"type": "process",
|
||||
"group": "build",
|
||||
"args": [
|
||||
"build",
|
||||
"${workspaceFolder}/Microsoft.OpenApi.OData.sln",
|
||||
"/property:GenerateFullPaths=true",
|
||||
"/consoleloggerparameters:NoSummary"
|
||||
],
|
||||
"problemMatcher": "$msCompile"
|
||||
},
|
||||
{
|
||||
"label": "test",
|
||||
"command": "dotnet",
|
||||
"type": "process",
|
||||
"group": "test",
|
||||
"args": [
|
||||
"test",
|
||||
"${workspaceFolder}/Microsoft.OpenApi.OData.sln",
|
||||
"/property:GenerateFullPaths=true",
|
||||
"/consoleloggerparameters:NoSummary",
|
||||
"--collect:\"XPlat Code Coverage\""
|
||||
],
|
||||
"problemMatcher": "$msCompile"
|
||||
},
|
||||
{
|
||||
"label": "coverage:clean",
|
||||
"type": "shell",
|
||||
"group": "test",
|
||||
"linux": {
|
||||
"command": "rm",
|
||||
"args": [
|
||||
"-r",
|
||||
"${workspaceFolder}/test/Microsoft.OpenAPI.OData.Reader.Tests/TestResults"
|
||||
]
|
||||
},
|
||||
"windows": {
|
||||
"command": "powershell",
|
||||
"args": [
|
||||
"-command",
|
||||
"Remove-Item -Recurse -Include TestResults -Path ${workspaceFolder}/tests"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "coverage:unit",
|
||||
"type": "process",
|
||||
"group": "test",
|
||||
"linux":{
|
||||
"command": "reportgenerator",
|
||||
"args": [
|
||||
"-reports:${workspaceFolder}/tests/**/coverage.cobertura.xml",
|
||||
"-targetdir:${workspaceFolder}/reports/coverage"
|
||||
],
|
||||
},
|
||||
"windows": {
|
||||
"command": "reportgenerator",
|
||||
"args": [
|
||||
"-reports:${workspaceFolder}\\test\\**\\coverage.cobertura.xml",
|
||||
"-targetdir:${workspaceFolder}\\reports\\coverage"
|
||||
]
|
||||
},
|
||||
"dependsOn": [
|
||||
"coverage:clean",
|
||||
"test"
|
||||
],
|
||||
"dependsOrder": "sequence"
|
||||
},
|
||||
{
|
||||
"label": "coverage:launch",
|
||||
"type": "shell",
|
||||
"linux": {
|
||||
"command": "xdg-open",
|
||||
"args": [
|
||||
"${workspaceFolder}/reports/coverage/index.html"
|
||||
]
|
||||
},
|
||||
"osx": {
|
||||
"command": "open",
|
||||
"args": [
|
||||
"${workspaceFolder}/reports/coverage/index.html"
|
||||
]
|
||||
},
|
||||
"windows": {
|
||||
"command": "start",
|
||||
"args": [
|
||||
"${workspaceFolder}/reports/coverage/index.html"
|
||||
]
|
||||
},
|
||||
"group": "test",
|
||||
},
|
||||
{
|
||||
"label": "coverage:launch",
|
||||
"group": "test",
|
||||
"dependsOrder": "sequence",
|
||||
"dependsOn": [
|
||||
"coverage:unit",
|
||||
"coverage:launch"
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": "clean",
|
||||
"command": "dotnet",
|
||||
"type": "process",
|
||||
"group": "build",
|
||||
"args": [
|
||||
"clean"
|
||||
],
|
||||
"problemMatcher": "$msCompile"
|
||||
},
|
||||
{
|
||||
"label": "publish",
|
||||
"command": "dotnet",
|
||||
"type": "process",
|
||||
"group": "build",
|
||||
"args": [
|
||||
"publish",
|
||||
"${workspaceFolder}/Microsoft.OpenApi.OData.sln",
|
||||
"/property:GenerateFullPaths=true",
|
||||
"/consoleloggerparameters:NoSummary"
|
||||
],
|
||||
"problemMatcher": "$msCompile"
|
||||
},
|
||||
{
|
||||
"label": "watch",
|
||||
"command": "dotnet",
|
||||
"type": "process",
|
||||
"group": "build",
|
||||
"args": [
|
||||
"watch",
|
||||
"run",
|
||||
"${workspaceFolder}/Microsoft.OpenApi.OData.sln",
|
||||
"/property:GenerateFullPaths=true",
|
||||
"/consoleloggerparameters:NoSummary"
|
||||
],
|
||||
"problemMatcher": "$msCompile"
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in a new issue