Skip to content

Commit

Permalink
Actually copies thirdpartycredits.txt to build now
Browse files Browse the repository at this point in the history
  • Loading branch information
Voltstro committed Jul 9, 2020
1 parent 620f269 commit 171a6b6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
6 changes: 6 additions & 0 deletions src/VoltstroEngine/ItemsToCopy.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[
{
"ItemToCopy": "../../thirdpartycredits.txt",
"WhereToCopyInBuild": ""
}
]
7 changes: 4 additions & 3 deletions src/VoltstroEngine/VoltstroEngine.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,10 @@
<None Update="license.txt">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="..\..\thirdpartycredits.txt">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>

<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Command="pwsh ../Scripts/CopyFilesOnBuild.ps1 -gameDirectory ../../game/bin/$(ConfigurationName) -projectDirectory $(ProjectDir)" />
</Target>

</Project>

0 comments on commit 171a6b6

Please sign in to comment.