1
0

Delete logs folder after build

This commit is contained in:
Scott E. Graves
2017-03-27 03:46:28 -05:00
parent dfc5ed91dd
commit 1a40b1935f

View File

@@ -20,8 +20,9 @@ pushd build\%TARGET_MODE% >NUL 2>&1
%CMAKE% --build . --config %TARGET_MODE%) && ( %CMAKE% --build . --config %TARGET_MODE%) && (
%CMAKE% --build . --target install --config %TARGET_MODE% && ( %CMAKE% --build . --target install --config %TARGET_MODE% && (
rd /s /q "%ROOT%dist\%TARGET_MODE%\config" rd /s /q "%ROOT%dist\%TARGET_MODE%\config"
rd /s /q "%ROOT%dist\%TARGET_MODE%\htdocs\.idea" rd /s /q "%ROOT%dist\%TARGET_MODE%\htdocs\.idea"
del /q "%ROOT%dist\%TARGET_MODE%\*.log" del /q "%ROOT%dist\%TARGET_MODE%\*.log"
rd /s /q "%ROOT%dist\%TARGET_MODE%\logs"
if "%TARGET_MODE%"=="Release" ( if "%TARGET_MODE%"=="Release" (
del /q "%ROOT%dist\%TARGET_MODE%\*.lib" del /q "%ROOT%dist\%TARGET_MODE%\*.lib"
del /q "%ROOT%dist\%TARGET_MODE%\*.pdb" del /q "%ROOT%dist\%TARGET_MODE%\*.pdb"