make: fix removing files; remove unused echo calls
parent
24499aa6de
commit
7b83a3332b
12
make.bat
12
make.bat
|
@ -36,7 +36,6 @@ if %ERRORLEVEL% NEQ 0 (
|
||||||
goto :error
|
goto :error
|
||||||
)
|
)
|
||||||
|
|
||||||
echo Now using V to build V...
|
|
||||||
v self -prod
|
v self -prod
|
||||||
if %ERRORLEVEL% NEQ 0 (
|
if %ERRORLEVEL% NEQ 0 (
|
||||||
echo v.exe failed to compile itself - Create an issue at 'https://github.com/vlang'
|
echo v.exe failed to compile itself - Create an issue at 'https://github.com/vlang'
|
||||||
|
@ -74,23 +73,20 @@ if %ERRORLEVEL% NEQ 0 (
|
||||||
goto :compile_error
|
goto :compile_error
|
||||||
)
|
)
|
||||||
|
|
||||||
echo rebuild from source (twice, in case of C definitions changes)
|
|
||||||
v self -prod
|
v self -prod
|
||||||
if %ERRORLEVEL% NEQ 0 (
|
if %ERRORLEVEL% NEQ 0 (
|
||||||
echo V failed to build itself with error %ERRORLEVEL%
|
echo V failed to build itself with error %ERRORLEVEL%
|
||||||
rd /s /q vc
|
rd /s /q vc
|
||||||
del v.pdb
|
del v_old.exe
|
||||||
del v3.ilk
|
del v2.pdb
|
||||||
del v3.pdb
|
|
||||||
del vc140.pdb
|
del vc140.pdb
|
||||||
del %ObjFile%
|
del %ObjFile%
|
||||||
goto :compile_error
|
goto :compile_error
|
||||||
)
|
)
|
||||||
|
|
||||||
rd /s /q vc
|
rd /s /q vc
|
||||||
del v.pdb
|
del v_old.exe
|
||||||
del v3.ilk
|
del v2.pdb
|
||||||
del v3.pdb
|
|
||||||
del vc140.pdb
|
del vc140.pdb
|
||||||
del %ObjFile%
|
del %ObjFile%
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue