Configuration argument for content packaging (#25569)

* Configuration argument for content packaging

Needed this for something so here we are. I think someone mentioned they wanted this? Welp its here now

* Add client, tiny fixes
This commit is contained in:
Vasilis
2024-03-24 03:20:34 +01:00
committed by GitHub
parent 4c840a7e6a
commit 9e7b196ffb
4 changed files with 34 additions and 15 deletions

View File

@@ -13,7 +13,7 @@ public static class ClientPackaging
/// <summary>
/// Be advised this can be called from server packaging during a HybridACZ build.
/// </summary>
public static async Task PackageClient(bool skipBuild, IPackageLogger logger)
public static async Task PackageClient(bool skipBuild, string configuration, IPackageLogger logger)
{
logger.Info("Building client...");
@@ -26,7 +26,7 @@ public static class ClientPackaging
{
"build",
Path.Combine("Content.Client", "Content.Client.csproj"),
"-c", "Release",
"-c", configuration,
"--nologo",
"/v:m",
"/t:Rebuild",