Created
June 18, 2014 17:42
-
-
Save chrisvire/de84f9398ee3ac327c06 to your computer and use it in GitHub Desktop.
Clean Target to work around mono-3 bug in globbing
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
<ItemGroup> | |
<ExistingObjectFiles | |
Include="$(RootDir)/output/$(Configuration)/**/*" | |
/> | |
</ItemGroup> | |
<Target Name="Clean"> | |
<Exec | |
Command="find . -name obj -type d -print0 | xargs -0 rm -rf" | |
WorkingDirectory="$(RootDir)" /> | |
<Delete Files="@(ExistingObjectFiles)" /> | |
</Target> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment