From 11cc80f7fcc50507f142e93b73622df5d52957fa Mon Sep 17 00:00:00 2001 From: GreemDev Date: Sun, 18 May 2025 03:10:38 -0500 Subject: [PATCH] infra: Generate .nupkg when building ARMeilleure, Ryujinx.Common, and Ryujinx.Memory. Additionally added a script to push them to Ryubing GitLab package registry. This script is my use only since it assumes you have the necessary authentication locally & on the server. TODO: figure out a way to get proper versioning for them. --- BuildAndPushLibraries.sh | 19 +++++++++++++++++++ nuget.config | 1 + src/ARMeilleure/ARMeilleure.csproj | 1 + src/Ryujinx.Common/Ryujinx.Common.csproj | 1 + src/Ryujinx.Memory/Ryujinx.Memory.csproj | 1 + 5 files changed, 23 insertions(+) create mode 100644 BuildAndPushLibraries.sh diff --git a/BuildAndPushLibraries.sh b/BuildAndPushLibraries.sh new file mode 100644 index 000000000..e5455e09b --- /dev/null +++ b/BuildAndPushLibraries.sh @@ -0,0 +1,19 @@ +function pub { + dotnet publish -c release +} + +function package { + cd src/$1 + pub + mv bin/Release/$1.1.0.0.nupkg ../../pkgs/$1.1.0.0.nupkg + cd ../../ +} + +rm -rf pkgs +mkdir pkgs + +package ARMeilleure +package Ryujinx.Common +package Ryujinx.Memory + +dotnet nuget push pkgs/*.nupkg --source RyubingPkgs \ No newline at end of file diff --git a/nuget.config b/nuget.config index 821d83c99..03523fc63 100644 --- a/nuget.config +++ b/nuget.config @@ -5,6 +5,7 @@ + diff --git a/src/ARMeilleure/ARMeilleure.csproj b/src/ARMeilleure/ARMeilleure.csproj index 5b6c5a6da..49d0d7a3d 100644 --- a/src/ARMeilleure/ARMeilleure.csproj +++ b/src/ARMeilleure/ARMeilleure.csproj @@ -3,6 +3,7 @@ true $(DefaultItemExcludes);._* + true diff --git a/src/Ryujinx.Common/Ryujinx.Common.csproj b/src/Ryujinx.Common/Ryujinx.Common.csproj index de163aae7..e31d2f3bc 100644 --- a/src/Ryujinx.Common/Ryujinx.Common.csproj +++ b/src/Ryujinx.Common/Ryujinx.Common.csproj @@ -4,6 +4,7 @@ true $(DefineConstants);$(ExtraDefineConstants) $(DefaultItemExcludes);._* + true diff --git a/src/Ryujinx.Memory/Ryujinx.Memory.csproj b/src/Ryujinx.Memory/Ryujinx.Memory.csproj index eda3ed17f..9cdeba3f1 100644 --- a/src/Ryujinx.Memory/Ryujinx.Memory.csproj +++ b/src/Ryujinx.Memory/Ryujinx.Memory.csproj @@ -3,6 +3,7 @@ true $(DefaultItemExcludes);._* + true