Devcontainer, fixes

This commit is contained in:
PingWin committed 2021-05-21 14:25:32 +00:00
1 parent b619253510
commit 8ca93bf060
26 files changed
+929 -302

No files matched your search

+17 -3
View File
@@ -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": {