mirror of
https://github.com/netchx/netch.git
synced 2026-03-14 17:43:18 +08:00
33 lines
622 B
PowerShell
33 lines
622 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 'RouteHelper\bin'
|
|
Delete 'RouteHelper\obj'
|
|
|
|
Delete 'Netch\*.csproj.user'
|
|
Delete 'Redirector\*.vcxproj.user'
|
|
Delete 'RouteHelper\*.vcxproj.user'
|
|
|
|
.\other\clean.ps1
|
|
|
|
Pop-Location
|
|
exit $lastExitCode |