forked from mrvux/dx11-vvvv
-
Notifications
You must be signed in to change notification settings - Fork 0
/
deploy.targets
46 lines (37 loc) · 2.22 KB
/
deploy.targets
1
<?xml version="1.0" encoding="utf-8"?><Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0" DefaultTargets="Build"> <ItemGroup> <DeployFolder Include="Deploy\**\*.*" /> </ItemGroup> <ItemGroup> <GirlPower Include="girlpower\girlpower\**\*.*" /> </ItemGroup> <ItemGroup> <GirlPowerNodes Include="girlpower\nodes\**\*.*" /> </ItemGroup> <Target Name="Clean-Deploy"> <Delete Files="@(DeployFolder)" /> </Target> <Target Name="Build-x86"> <MSBuild Projects="vvvv-dx11.sln" Properties="Configuration=Release;Platform=x86;DebugSymbols=false;DebugType=None" /> </Target> <Target Name="Build-x64"> <MSBuild Projects="vvvv-dx11.sln" Properties="Configuration=Release;Platform=x64;DebugSymbols=false;DebugType=None" /> </Target> <Target Name="Build"> <Delete Files="Deploy\**\*.*" /> <CallTarget Targets="Build-x86" /> <Exec WorkingDirectory="Deploy\Release\x86\packs\DX11\nodes\plugins\vlc\" Command="..\..\..\..\..\..\..\..\Tools\7zA.exe x ..\..\..\..\..\..\..\..\Dependencies\x86\vlc-plugins.zip" LogStandardErrorAsError="true" /> <Copy SourceFiles="@(GirlPowerNodes)" DestinationFolder="Deploy\Release\x86\packs\dx11\nodes\%(GirlPowerNodes.RecursiveDir)" /> <Copy SourceFiles="@(GirlPower)" DestinationFolder="Deploy\Release\x86\packs\dx11\girlpower\%(GirlPower.RecursiveDir)" /> <Exec WorkingDirectory="Deploy\Release\x86\" Command="..\..\..\Tools\7zA.exe a -tzip ..\..\..\Zip\vvvv-packs-dx11-x86.zip packs" LogStandardErrorAsError="true" /> <CallTarget Targets="Build-x64" /> <Exec WorkingDirectory="Deploy\Release\x64\packs\DX11\nodes\plugins\vlc\" Command="..\..\..\..\..\..\..\..\Tools\7zA.exe x ..\..\..\..\..\..\..\..\Dependencies\x64\vlc-plugins.zip" LogStandardErrorAsError="true" /> <Copy SourceFiles="@(GirlPowerNodes)" DestinationFolder="Deploy\Release\x64\packs\dx11\nodes\%(GirlPowerNodes.RecursiveDir)" /> <Copy SourceFiles="@(GirlPower)" DestinationFolder="Deploy\Release\x64\packs\dx11\girlpower\%(GirlPower.RecursiveDir)" /> <Exec WorkingDirectory="Deploy\Release\x64\" Command="..\..\..\Tools\7zA.exe a -tzip ..\..\..\Zip\vvvv-packs.dx11-x64.zip packs" LogStandardErrorAsError="true" /> </Target></Project>