Skip to content

Commit

Permalink
Trim published binaries (#25)
Browse files Browse the repository at this point in the history
(and also fix a formatting mistake in the .csproj file)

Suggested by CLF78. This one-line project config change reduces the artifact sizes for each platform from ~61 MB to ~12 MB, which is a pretty huge improvement. The trimmed Linux binary seems to work fine, and I'd be surprised if this breaks either of the other two.
  • Loading branch information
RoadrunnerWMC authored May 22, 2022
1 parent 3e13b0b commit 2b847ed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Kamek/Kamek.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<PublishTrimmed>true</PublishTrimmed>
</PropertyGroup>
</Project>

0 comments on commit 2b847ed

Please sign in to comment.