From: AeonLucid Date: Sat, 24 Oct 2020 18:33:42 +0000 (+0200) Subject: Update more project files X-Git-Tag: v1.2.2~96^2~13 X-Git-Url: https://git.deb.at/?a=commitdiff_plain;h=a36396fb485cddbf22b6096c8511c3e8781510f8;p=rhonda%2Fimpostor.git Update more project files --- diff --git a/build.cake b/build.cake index f15a90e..73e1b7d 100644 --- a/build.cake +++ b/build.cake @@ -78,7 +78,6 @@ Task("Clean") Task("Restore") .Does(() => { DotNetCoreRestore("./src/Impostor.sln"); - DotNetCoreRestore("./src/Impostor.Patcher/Impostor.Patcher.WinForms/Impostor.Patcher.WinForms.csproj"); }); Task("Patch") @@ -104,6 +103,11 @@ Task("Build") if ((buildBranch == "master" || buildBranch == "dev") && string.IsNullOrEmpty(prNumber)) { // Client. ImpostorPublishNF("Impostor-Patcher", "./src/Impostor.Patcher/Impostor.Patcher.WinForms/Impostor.Patcher.WinForms.csproj"); + + // Excluding these because currently it results in a ~17MB package for each. + // ImpostorPublish("Impostor-Patcher-Cli", "./src/Impostor.Patcher/Impostor.Patcher.Cli/Impostor.Patcher.Cli.csproj", "win-x64"); + // ImpostorPublish("Impostor-Patcher-Cli", "./src/Impostor.Patcher/Impostor.Patcher.Cli/Impostor.Patcher.Cli.csproj", "osx-x64"); + // ImpostorPublish("Impostor-Patcher-Cli", "./src/Impostor.Patcher/Impostor.Patcher.Cli/Impostor.Patcher.Cli.csproj", "linux-x64"); // Server. ImpostorPublish("Impostor-Server", "./src/Impostor.Server/Impostor.Server.csproj", "win-x64"); diff --git a/src/Impostor.Patcher/Impostor.Patcher.Cli/Impostor.Patcher.Cli.csproj b/src/Impostor.Patcher/Impostor.Patcher.Cli/Impostor.Patcher.Cli.csproj index 9eb7d3b..4004bd6 100644 --- a/src/Impostor.Patcher/Impostor.Patcher.Cli/Impostor.Patcher.Cli.csproj +++ b/src/Impostor.Patcher/Impostor.Patcher.Cli/Impostor.Patcher.Cli.csproj @@ -2,8 +2,12 @@ Impostor.Cli - Exe net5.0 + win-x64;linux-x64;linux-arm;linux-arm64;osx-x64 + Exe + true + Link + true diff --git a/src/Impostor.sln b/src/Impostor.sln index dcd5255..9ec2b61 100644 --- a/src/Impostor.sln +++ b/src/Impostor.sln @@ -73,6 +73,7 @@ Global {804CF172-0C87-4423-9688-BD97D549891E}.Debug|x86.ActiveCfg = Debug|Any CPU {804CF172-0C87-4423-9688-BD97D549891E}.Release|Any CPU.ActiveCfg = Release|Any CPU {804CF172-0C87-4423-9688-BD97D549891E}.Release|x86.ActiveCfg = Release|Any CPU + {804CF172-0C87-4423-9688-BD97D549891E}.Debug|Any CPU.Build.0 = Debug|Any CPU {E096A7D7-D693-4A13-A526-38CC574D84F8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {E096A7D7-D693-4A13-A526-38CC574D84F8}.Debug|Any CPU.Build.0 = Debug|Any CPU {E096A7D7-D693-4A13-A526-38CC574D84F8}.Debug|x86.ActiveCfg = Debug|Any CPU