Created
February 16, 2018 16:31
-
-
Save anonymous/c01ad335a751ecc1c872f2e810b1bc49 to your computer and use it in GitHub Desktop.
deploytarget
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Target Name="deployts"> | |
<ItemGroup> | |
<ItemsToExclude Include="C:\staging\source\bin\**\*.*"/> | |
<ItemsToExclude Include="C:\staging\source\*.*"/> | |
</ItemGroup> | |
<ItemGroup> | |
<ItemsToDeploy Include="C:\staging\source\**\*.*" Exclude="@(ItemsToExclude)"/> | |
</ItemGroup> | |
<Copy DestinationFolder="C:\staging\destination\%(RecursiveDir)" SourceFiles="@(ItemsToDeploy)" /> | |
</Target> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment