mirror of
https://github.com/vlang/v.git
synced 2025-09-13 22:42:26 +03:00
make: fix removing files; remove unused echo calls
This commit is contained in:
parent
24499aa6de
commit
7b83a3332b
1 changed files with 4 additions and 8 deletions
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…
Add table
Add a link
Reference in a new issue