make: fix removing files; remove unused echo calls

pull/4189/head
Alexey 2020-04-02 10:27:25 +03:00 committed by GitHub
parent 24499aa6de
commit 7b83a3332b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 8 deletions

View File

@ -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%