Files
netch/clean.ps1
2021-08-01 16:36:19 +08:00

29 lines
517 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'
.\other\clean.ps1
Pop-Location
exit $lastExitCode