Skip to content

Commit 47ecf56

Browse files
author
raspopov
committedSep 17, 2017
Updated clean script.
git-svn-id: svn://svn.code.sf.net/p/shareaza/code/trunk@9689 3231ed4b-2112-0410-84e0-8c3944a40730
1 parent d5c0bb2 commit 47ecf56

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed
 

‎clean.cmd

+10-9
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,18 @@ for /r %%i in (*.sdf) do del /q "%%i" && echo Cleaning %%i...
1414
for /r %%i in (*.vc.db) do del /q "%%i" && echo Cleaning %%i...
1515
call :clean Win32
1616
call :clean x64
17-
for /d /r %%i in (*.*) do if exist "%%i\ipch\" rd /s /q "%%i\ipch\" && echo Cleaning %%i\ipch\...
17+
call :clean_vc Win32
18+
call :clean_vc x64
19+
call :clean_vc Debug
20+
call :clean_vc Release
21+
for /d /r %%i in (*.*) do if exist "%%i\ipch\" rd /s /q "%%i\ipch\" && echo Cleaning %%i\ipch\...
1822
exit /b 0
1923
:clean
2024
for /d /r %%i in (*.*) do (
21-
if exist "%%i\%1\Debug\" (
22-
rd /s /q "%%i\%1\"
23-
echo Cleaning %%i\%1\...
24-
)
25-
if exist "%%i\%1\Release\" (
26-
rd /s /q "%%i\%1\"
27-
echo Cleaning %%i\%1\...
28-
)
25+
if exist "%%i\%1\Debug\" rd /s /q "%%i\%1\" && echo Cleaning %%i\%1\...
26+
if exist "%%i\%1\Release\" rd /s /q "%%i\%1\" && echo Cleaning %%i\%1\...
2927
)
28+
exit /b 0
29+
:clean_vc
30+
for /d /r %%i in (vc*) do if exist "%%i\%1\" rd /s /q "%%i\%1\" && echo Cleaning %%i\%1\...
3031
exit /b 0

0 commit comments

Comments
 (0)
Please sign in to comment.