Devcontainer, fixes
This commit is contained in:
1 parent
b619253510
commit
8ca93bf060
26 files changed
+929
-302
No files matched your search
Vendored
+20
-4
@@ -8,13 +8,29 @@
|
||||
"name": ".NET Core Launch (console)",
|
||||
"type": "coreclr",
|
||||
"request": "launch",
|
||||
"preLaunchTask": "build",
|
||||
"program": "${workspaceFolder}/src/Jellyfin.Plugin.Kinopoisk/bin/Debug/net5.0/Jellyfin.Plugin.Kinopoisk.dll",
|
||||
"preLaunchTask": "publish-to-run",
|
||||
"program": "${workspaceFolder:workspace-jellyfin}/Jellyfin.Server/bin/Debug/net5.0/jellyfin.dll",
|
||||
"args": [],
|
||||
"cwd": "${workspaceFolder}/src",
|
||||
"cwd": "${workspaceFolder:workspace-jellyfin}/Jellyfin.Server",
|
||||
"console": "internalConsole",
|
||||
"stopAtEntry": false
|
||||
"stopAtEntry": false,
|
||||
"internalConsoleOptions": "openOnSessionStart",
|
||||
// "serverReadyAction": {
|
||||
// "action": "openExternally",
|
||||
// "pattern": "Overriding address\\(es\\) \\'(https?:\\S+)\\'",
|
||||
// }
|
||||
},
|
||||
// {
|
||||
// "name": ".NET Core Launch (console)",
|
||||
// "type": "coreclr",
|
||||
// "request": "launch",
|
||||
// "preLaunchTask": "build",
|
||||
// "program": "${workspaceFolder}/src/Jellyfin.Plugin.Kinopoisk/bin/Debug/net5.0/Jellyfin.Plugin.Kinopoisk.dll",
|
||||
// "args": [],
|
||||
// "cwd": "${workspaceFolder}/src",
|
||||
// "console": "internalConsole",
|
||||
// "stopAtEntry": false
|
||||
// },
|
||||
{
|
||||
"name": ".NET Core Attach",
|
||||
"type": "coreclr",
|
||||
|
||||
Vendored
+17
-3
@@ -9,7 +9,7 @@
|
||||
"type": "shell",
|
||||
"args": [
|
||||
"build",
|
||||
"${workspaceFolder}/src/Kinopoisk.sln"
|
||||
"${workspaceFolder:workspace}/src/Kinopoisk.sln",
|
||||
// Ask dotnet build to generate full paths for file names.
|
||||
"/property:GenerateFullPaths=true",
|
||||
// Do not generate summary otherwise it leads to duplicate errors in Problems panel
|
||||
@@ -22,14 +22,28 @@
|
||||
},
|
||||
"problemMatcher": "$msCompile"
|
||||
},
|
||||
{
|
||||
"label": "publish-to-run",
|
||||
"command": "dotnet",
|
||||
"type": "shell",
|
||||
"args": [
|
||||
"publish",
|
||||
"${workspaceFolder:workspace}/src/Jellyfin.Plugin.Kinopoisk/Jellyfin.Plugin.Kinopoisk.csproj",
|
||||
"--output", "/jellyfin-data/plugins/kinopoisk",
|
||||
"/property:GenerateFullPaths=true",
|
||||
"/property:Version=10.7.0.2"
|
||||
],
|
||||
"group": "build",
|
||||
"problemMatcher": "$msCompile"
|
||||
},
|
||||
{
|
||||
"label": "make-dist",
|
||||
"command": "powershell",
|
||||
"type": "shell",
|
||||
"args": [
|
||||
"Compress-Archive",
|
||||
"-Path", "${workspaceFolder}/src/Jellyfin.Plugin.Kinopoisk/bin/Debug/net5.0/Jellyfin.Plugin.Kinopoisk.dll,${workspaceFolder}/src/Jellyfin.Plugin.Kinopoisk.Test/bin/Debug/net5.0/Macross.Json.Extensions.dll",
|
||||
"-DestinationPath", "${workspaceFolder}/dist/jellyfin-plugin-kinopoisk_10.7.0.2.zip"
|
||||
"-Path", "${workspaceFolder:workspace}/src/Jellyfin.Plugin.Kinopoisk/bin/Debug/net5.0/Jellyfin.Plugin.Kinopoisk.dll,${workspaceFolder:workspace}/src/Jellyfin.Plugin.Kinopoisk.Test/bin/Debug/net5.0/Macross.Json.Extensions.dll",
|
||||
"-DestinationPath", "${workspaceFolder:workspace}/dist/jellyfin-plugin-kinopoisk_10.7.0.2.zip"
|
||||
],
|
||||
"group": "build",
|
||||
"presentation": {
|
||||
|
||||
Reference in new issue
Block a user