mirror of
https://github.com/bolucat/Archive.git
synced 2025-09-26 20:21:35 +08:00
36 lines
725 B
PowerShell
36 lines
725 B
PowerShell
Push-Location (Split-Path $MyInvocation.MyCommand.Path -Parent)
|
|
|
|
function Delete {
|
|
param (
|
|
[string]
|
|
$Path
|
|
)
|
|
|
|
if (Test-Path $Path) {
|
|
rm -Recurse -Force $Path | Out-Null
|
|
}
|
|
}
|
|
|
|
Delete '.vs'
|
|
Delete 'release'
|
|
Delete 'Netch\bin'
|
|
Delete 'Netch\obj'
|
|
Delete 'Tests\bin'
|
|
Delete 'Tests\obj'
|
|
Delete 'TestResults'
|
|
Delete 'Redirector\bin'
|
|
Delete 'Redirector\obj'
|
|
Delete 'RedirectorTester\bin'
|
|
Delete 'RedirectorTester\obj'
|
|
Delete 'RouteHelper\bin'
|
|
Delete 'RouteHelper\obj'
|
|
|
|
Delete 'Netch\*.csproj.user'
|
|
Delete 'Redirector\*.vcxproj.user'
|
|
Delete 'RedirectorTester\*.csproj.user'
|
|
Delete 'RouteHelper\*.vcxproj.user'
|
|
|
|
.\other\clean.ps1
|
|
|
|
Pop-Location
|
|
exit $lastExitCode |