Created
March 28, 2012 18:41
-
-
Save bradwilson/2229275 to your computer and use it in GitHub Desktop.
Scorch PowerShell script for mixed Git/TFS environments
This file contains hidden or 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
& taskkill /f /im msbuild.exe | |
if ((get-gitstatus) -ne $null) { | |
& git clean -xdf -e *.suo -e packages/* | |
} else { | |
& tfpt scorch . /recursive /deletes /diff /noprompt /exclude:"*.suo,.\packages" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment