Free cookie consent management tool by TermsFeed Policy Generator

source: branches/2708_ScopedAlgorithms/Clean.cmd @ 17092

Last change on this file since 17092 was 14683, checked in by abeham, 8 years ago

#2708: added clean script

File size: 797 bytes
Line 
1@ECHO OFF
2
3ECHO Clean starting...
4
5FOR /F "tokens=*" %%G IN ('DIR /AD /B') DO (
6  IF EXIST "%%G\bin" (
7    ECHO Cleaning "bin" in %%G ...
8    RMDIR /S /Q "%%G\bin"
9  )
10  IF EXIST "%%G\obj" (
11    ECHO Cleaning "obj" in %%G ...
12    RMDIR /S /Q "%%G\obj"
13  )
14  FOR /F "tokens=*" %%T IN ('DIR /AD /B %%G') DO (
15    IF EXIST "%%G\%%T\bin" (
16      ECHO Cleaning "bin" in %%G in version %%T ...
17      RMDIR /S /Q "%%G\%%T\bin"
18    )
19    IF EXIST "%%G\%%T\obj" (
20      ECHO Cleaning "obj" in %%G in version %%T ...
21      RMDIR /S /Q "%%G\%%T\obj"
22    )
23  )
24)
25
26IF EXIST bin (
27  ECHO Cleaning "bin" in current directory ...
28  RMDIR /S /Q bin
29)
30
31IF EXIST TestResults (
32  ECHO Cleaning "TestResults" in current directory ...
33  RMDIR /S /Q TestResults
34)
35
36ECHO Clean finished.
Note: See TracBrowser for help on using the repository browser.