mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
make.bat: fix --local mode (#7255)
This commit is contained in:
parent
597c2249e0
commit
22cbfdf0ba
2
make.bat
2
make.bat
@ -136,10 +136,10 @@ if %ERRORLEVEL% NEQ 0 echo Invalid subcommand: !subcmd!
|
|||||||
exit /b %ERRORLEVEL%
|
exit /b %ERRORLEVEL%
|
||||||
|
|
||||||
:build
|
:build
|
||||||
|
if !flag_local! NEQ 1 (
|
||||||
call :download_tcc
|
call :download_tcc
|
||||||
if %ERRORLEVEL% NEQ 0 goto :error
|
if %ERRORLEVEL% NEQ 0 goto :error
|
||||||
del "!log_file!">NUL 2>&1
|
del "!log_file!">NUL 2>&1
|
||||||
if !flag_local! NEQ 1 (
|
|
||||||
pushd "%vc_dir%" 2>NUL && (
|
pushd "%vc_dir%" 2>NUL && (
|
||||||
echo Updating vc...
|
echo Updating vc...
|
||||||
echo ^> Sync with remote !vc_url!
|
echo ^> Sync with remote !vc_url!
|
||||||
|
Loading…
Reference in New Issue
Block a user