Clean-up before build.
This commit is contained in:
parent
ea3b08feaf
commit
2c17359bf9
10
z_build.bat
10
z_build.bat
@ -53,6 +53,16 @@ for /F "tokens=1,2,3,4 delims=:" %%a in ('"%~dp0\etc\date.exe" +ISOTIME:%%T') do
|
||||
if "%ISO_DATE%"=="" goto BuildError
|
||||
if "%ISO_TIME%"=="" goto BuildError
|
||||
|
||||
REM ///////////////////////////////////////////////////////////////////////////
|
||||
REM // Clean up temp files
|
||||
REM ///////////////////////////////////////////////////////////////////////////
|
||||
echo ---------------------------------------------------------------------
|
||||
echo CLEAN UP
|
||||
echo ---------------------------------------------------------------------
|
||||
for %%i in (bin,obj,tmp) do (
|
||||
del /Q /S /F "%~dp0\%%i\*.*"
|
||||
)
|
||||
|
||||
REM ///////////////////////////////////////////////////////////////////////////
|
||||
REM // Build the binaries
|
||||
REM ///////////////////////////////////////////////////////////////////////////
|
||||
|
Loading…
Reference in New Issue
Block a user