chore: add targets file for semver

This commit is contained in:
Anna 2021-01-08 20:32:14 -05:00
parent e482a8ef90
commit 3b896fe889
3 changed files with 16 additions and 3 deletions

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<Project>
<Target Name="PackagePlugin" AfterTargets="Build" Condition="'$(Configuration)' == 'Release'">
<DalamudPackager
ProjectDir="$(ProjectDir)"
OutputPath="$(OutputPath)"
AssemblyName="$(AssemblyName)"
VersionComponents="3"
MakeZip="true"/>
</Target>
</Project>

View File

@ -2,9 +2,10 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Target Name="ILRepacker" AfterTargets="Build">
<ItemGroup>
<InputAssemblies
Include="$(OutputPath)\*.dll"
Exclude="$(OutputPath)\libsodium.dll"/>
<InputAssemblies Include="$(OutputPath)\XIVChat.dll"/>
<InputAssemblies Include="$(OutputPath)\XIVChatCommon.dll"/>
<InputAssemblies Include="$(OutputPath)\M*.dll"/>
<InputAssemblies Include="$(OutputPath)\S*.dll"/>
</ItemGroup>
<ILRepack

View File

@ -134,6 +134,7 @@
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Content Include="DalamudPackager.targets" />
<Content Include="ILRepack.targets" />
<Content Include="Resources\lib\libsodium.dll" />
<Content Include="XIVChat.yaml" />