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.
This commit is contained in:
GreemDev 2025-05-18 03:10:38 -05:00
parent f6c1e97110
commit 11cc80f7fc
5 changed files with 23 additions and 0 deletions

19
BuildAndPushLibraries.sh Normal file
View file

@ -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