mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
make.bat: allow customisation of vc_url, using env variable VC_GIT, simillar to TCC_GIT
This commit is contained in:
parent
270df58057
commit
747507dd1d
4
make.bat
4
make.bat
@ -23,10 +23,12 @@ REM VC settings
|
||||
set "vc_url=https://github.com/vlang/vc"
|
||||
set "vc_dir=%~dp0vc"
|
||||
|
||||
REM Let a particular environment specify their own TCC repo
|
||||
REM Let a particular environment specify their own TCC and VC repos (to help mirrors)
|
||||
if /I not ["%TCC_GIT%"] == [""] set "tcc_url=%TCC_GIT%"
|
||||
if /I not ["%TCC_BRANCH%"] == [""] set "tcc_branch=%TCC_BRANCH%"
|
||||
|
||||
if /I not ["%VC_GIT%"] == [""] set "vc_url=%VC_GIT%"
|
||||
|
||||
pushd %~dp0
|
||||
|
||||
:verifyopt
|
||||
|
Loading…
Reference in New Issue
Block a user