forked from netchx/netch
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathclean.ps1
More file actions
36 lines (30 loc) · 725 Bytes
/
Copy pathclean.ps1
File metadata and controls
36 lines (30 loc) · 725 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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