forked from GSuvorov/SentimentAnalysisService
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path--clear-after-build--.cmd
36 lines (25 loc) · 1.5 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
31
32
33
34
35
36
rem 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
del "Sources\.sln\Linguistics\*.VC.db" /S/Q/F/A
del "Sources\.sln\Linguistics-with-OM-TM\*.VC.db" /S/Q/F/A
for /F %%i in ('dir /A:d /S/B "Sources\.sln\Linguistics\ipch*"') do rd /S/Q %%i
for /F %%i in ('dir /A:d /S/B "Sources\.sln\Linguistics-with-OM-TM\ipch*"') do rd /S/Q %%i
pause