chore: Add vscode editor configuration (#134)

pull/135/head
voltron4lyfe 2 years ago committed by GitHub
parent 044a064069
commit bb556c72f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,7 @@
{
"recommendations": [
"ms-dotnettools.csharp",
"formulahendry.dotnet-test-explorer",
"editorconfig.editorconfig"
]
}

@ -0,0 +1,18 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "radarr.run",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"program": "${workspaceFolder}/src/Recyclarr/bin/Debug/net6.0/recyclarr",
"args": [
"radarr"
],
"cwd": "${workspaceFolder}/src/Recyclarr/bin/Debug/net6.0/",
"stopAtEntry": false,
"console": "internalConsole"
}
]
}

@ -0,0 +1,6 @@
{
"dotnet-test-explorer.testProjectPath": "src/**/*Tests.csproj",
"files.trimFinalNewlines": true,
"files.insertFinalNewline": true,
"recyclarr.runtime": "linux-musl-x64"
}

45
.vscode/tasks.json vendored

@ -0,0 +1,45 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "build",
"command": "dotnet",
"type": "process",
"args": [
"build",
"${workspaceFolder}/src/Recyclarr/Recyclarr.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"problemMatcher": "$msCompile"
},
{
"label": "publish",
"command": "dotnet",
"type": "process",
"args": [
"publish",
"${workspaceFolder}/src/Recyclarr/Recyclarr.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary",
"-o",
"${workspaceFolder}/docker/artifacts/recyclarr-${config:recyclarr.runtime}"
],
"problemMatcher": "$msCompile"
},
{
"label": "test",
"command": "dotnet",
"type": "process",
"args": [
"test",
"${workspaceFolder}/src/Recyclarr.sln"
],
"problemMatcher": "$msCompile",
"group": {
"kind": "test",
"isDefault": true
}
}
]
}
Loading…
Cancel
Save