]> git.deb.at Git - rhonda/impostor.git/commitdiff
Update more project files
authorAeonLucid <aeonlucid@outlook.com>
Sat, 24 Oct 2020 18:33:42 +0000 (20:33 +0200)
committerAeonLucid <aeonlucid@outlook.com>
Sat, 24 Oct 2020 18:33:42 +0000 (20:33 +0200)
build.cake
src/Impostor.Patcher/Impostor.Patcher.Cli/Impostor.Patcher.Cli.csproj
src/Impostor.sln

index f15a90ee8cd6215d900892ece4bcdb94a613ddbe..73e1b7df49ac64721892e5cbd6ce510e6a112fec 100644 (file)
@@ -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");
index 9eb7d3b2b2957db2aa97f18c0141eb83d9c7decb..4004bd6f32b0611f61b72f434e62f2cb96e069f1 100644 (file)
@@ -2,8 +2,12 @@
 
     <PropertyGroup>
         <AssemblyName>Impostor.Cli</AssemblyName>
-        <OutputType>Exe</OutputType>
         <TargetFramework>net5.0</TargetFramework>
+        <RuntimeIdentifiers>win-x64;linux-x64;linux-arm;linux-arm64;osx-x64</RuntimeIdentifiers>
+        <OutputType>Exe</OutputType>
+        <PublishTrimmed>true</PublishTrimmed>
+        <TrimMode>Link</TrimMode>
+        <IncludeNativeLibrariesForSelfExtract>true</IncludeNativeLibrariesForSelfExtract>
     </PropertyGroup>
 
     <ItemGroup>
index dcd5255a0dd49b713daf2c666a00b16f70284f80..9ec2b61f166711661dab004c1ba02a0fe360e6c6 100644 (file)
@@ -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