0
0
mirror of https://github.com/sp-tarkov/assembly-tool.git synced 2025-02-13 01:30:45 -05:00

Pass build configuration to PostBuild.ps1

This commit is contained in:
Cj 2025-01-11 23:40:24 -05:00
parent 5840a58b2f
commit af62310053

View File

@ -4,6 +4,8 @@
<Configuration>Debug</Configuration> <Configuration>Debug</Configuration>
<RunPostBuildEvent>Always</RunPostBuildEvent> <RunPostBuildEvent>Always</RunPostBuildEvent>
<DisableFastUpToDateCheck>true</DisableFastUpToDateCheck> <DisableFastUpToDateCheck>true</DisableFastUpToDateCheck>
<Configurations>Debug;Release;WAIT_FOR_DEBUGGER</Configurations>
<Platforms>AnyCPU</Platforms>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
@ -15,9 +17,6 @@
</ItemGroup> </ItemGroup>
<Target Name="PostBuild" AfterTargets="Build"> <Target Name="PostBuild" AfterTargets="Build">
<Exec Command="pwsh -NoProfile -ExecutionPolicy Bypass .\PostBuild.ps1" <Exec Command="pwsh -NoProfile -ExecutionPolicy Bypass .\PostBuild.ps1 $(ConfigurationName)" />
WorkingDirectory="$(ProjectDir)"
StandardOutputImportance="High"
StandardErrorImportance="High" />
</Target> </Target>
</Project> </Project>