-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy path--clear-after-build--.cmd
30 lines (21 loc) · 1.21 KB
/
--clear-after-build--.cmd
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
del "*.suo" /S/Q/F/A
del "*.pdb" /S/Q/F/A
for /F %%i in ('dir /A:d /S/B "Sources\Core\cpp\Release*"') do rd /S/Q %%i
for /F %%i in ('dir /A:d /S/B "Sources\Core\cpp\Debug*"') do rd /S/Q %%i
del "Sources\Core\cpp\*.vcxproj.user" /S/Q/F/A
for /F %%i in ('dir /A:d /S/B "Sources\Core\cpp_cli\Release*"') do rd /S/Q %%i
for /F %%i in ('dir /A:d /S/B "Sources\Core\cpp_cli\Debug*"') do rd /S/Q %%i
del "Sources\Core\cpp_cli\*.vcxproj.user" /S/Q/F/A
for /F %%i in ('dir /A:d /S/B "Sources\Core\csharp\bin*"') do rd /S/Q %%i
for /F %%i in ('dir /A:d /S/B "Sources\Core\csharp\obj*"') do rd /S/Q %%i
del "Sources\Core\csharp\*.csproj.user" /S/Q/F/A
for /F %%i in ('dir /A:d /S/B "Sources\Service\bin*"') do rd /S/Q %%i
for /F %%i in ('dir /A:d /S/B "Sources\Service\obj*"') do rd /S/Q %%i
del "Sources\Service\*.csproj.user" /S/Q/F/A
for /F %%i in ('dir /A:d /S/B "Sources\TextMining\bin*"') do rd /S/Q %%i
for /F %%i in ('dir /A:d /S/B "Sources\TextMining\obj*"') do rd /S/Q %%i
del "Sources\TextMining\*.csproj.user" /S/Q/F/A
for /F %%i in ('dir /A:d /S/B "Sources\Tests\bin*"') do rd /S/Q %%i
for /F %%i in ('dir /A:d /S/B "Sources\Tests\obj*"') do rd /S/Q %%i
del "Sources\Tests\*.csproj.user" /S/Q/F/A
pause