mirror of
https://github.com/Prof9/WfcReplay.git
synced 2026-04-25 23:37:56 -05:00
readded Post build script with condition for unix and windows
This commit is contained in:
parent
6d70d95e2a
commit
8fa7dcace3
|
|
@ -48,6 +48,22 @@
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
|
<PreBuildEvent Condition=" '$(ConfigurationName)' == 'Release' AND '$(OS)' != 'Unix' ">
|
||||||
|
del /Q $(TargetDir)*
|
||||||
|
copy $(SolutionDir)BLZ\* $(TargetDir)*
|
||||||
|
rename $(TargetDir)license.txt blz_license.txt
|
||||||
|
copy $(SolutionDir)readme.md $(TargetDir)readme.txt
|
||||||
|
copy $(SolutionDir)changelog.md $(TargetDir)changelog.txt
|
||||||
|
copy $(SolutionDir)license.txt $(TargetDir)license.txt
|
||||||
|
</PreBuildEvent>
|
||||||
|
<PreBuildEvent Condition=" '$(ConfigurationName)' == 'Release' AND '$(OS)' == 'Unix' ">
|
||||||
|
rm -rf $(TargetDir)*
|
||||||
|
cp $(SolutionDir)BLZ\* $(TargetDir)*
|
||||||
|
cp $(TargetDir)license.txt blz_license.txt
|
||||||
|
cp $(SolutionDir)readme.md $(TargetDir)readme.txt
|
||||||
|
cp $(SolutionDir)changelog.md $(TargetDir)changelog.txt
|
||||||
|
cp $(SolutionDir)license.txt $(TargetDir)license.txt
|
||||||
|
</PreBuildEvent>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||||
Other similar extension points exist, see Microsoft.Common.targets.
|
Other similar extension points exist, see Microsoft.Common.targets.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user