|
|
@ -34,14 +34,19 @@ |
|
|
|
</Target> |
|
|
|
</Target> |
|
|
|
|
|
|
|
|
|
|
|
<!--## Package Generation ##--> |
|
|
|
<!--## Package Generation ##--> |
|
|
|
|
|
|
|
<Target Name="_CleanOutputDirectory"> |
|
|
|
|
|
|
|
<ItemGroup><DirectoriesToDelete Include="$([System.IO.Directory]::GetDirectories('$(BuildOutputDirectory)'))" /></ItemGroup> |
|
|
|
|
|
|
|
<RemoveDir Directories="@(DirectoriesToDelete)" ContinueOnError="true" /> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<ItemGroup><FilesToDelete Include="$(BuildOutputDirectory)\**\*.*" /></ItemGroup> |
|
|
|
|
|
|
|
<Delete Files="@(FilesToDelete)" /> |
|
|
|
|
|
|
|
</Target> |
|
|
|
|
|
|
|
|
|
|
|
<Target Name="_PreparePackageComponent"> |
|
|
|
<Target Name="_PreparePackageComponent"> |
|
|
|
<Copy SourceFiles="@(DynamicPackageItem)" DestinationFolder="$(BuildOutputDirectory)\%(DynamicPackageItem.TargetDirectory)\%(DynamicPackageItem.RecursiveDir)" /> |
|
|
|
<Copy SourceFiles="@(DynamicPackageItem)" DestinationFolder="$(BuildOutputDirectory)\%(DynamicPackageItem.TargetDirectory)\%(DynamicPackageItem.RecursiveDir)" /> |
|
|
|
</Target> |
|
|
|
</Target> |
|
|
|
|
|
|
|
|
|
|
|
<Target Name="_GeneratePackage"> |
|
|
|
<Target Name="_GeneratePackage"> |
|
|
|
<ItemGroup><ExistingArchives Include="$(BuildOutputDirectory)\*.zip" /></ItemGroup> |
|
|
|
|
|
|
|
<Delete Files="@(ExistingArchives)" /> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Copy SourceFiles="@(StaticPackageItem)" DestinationFolder="$(BuildOutputDirectory)\%(StaticPackageItem.TargetDirectory)\%(StaticPackageItem.RecursiveDir)" /> |
|
|
|
<Copy SourceFiles="@(StaticPackageItem)" DestinationFolder="$(BuildOutputDirectory)\%(StaticPackageItem.TargetDirectory)\%(StaticPackageItem.RecursiveDir)" /> |
|
|
|
<Exec Command=""$(ZipExePath)" a -tzip $(PackageName) * -r" WorkingDirectory="$(BuildOutputDirectory)" /> |
|
|
|
<Exec Command=""$(ZipExePath)" a -tzip $(PackageName) * -r" WorkingDirectory="$(BuildOutputDirectory)" /> |
|
|
|
|
|
|
|
|
|
|
|