mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
make.bat: do not rebuild with -prod by default
This commit is contained in:
parent
6b31ebe456
commit
d455606037
10
make.bat
10
make.bat
@ -8,8 +8,6 @@ if exist "vc" (
|
|||||||
rd /s /q vc
|
rd /s /q vc
|
||||||
)
|
)
|
||||||
|
|
||||||
git version
|
|
||||||
|
|
||||||
echo Downloading v.c...
|
echo Downloading v.c...
|
||||||
git clone --depth 1 --quiet https://github.com/vlang/vc
|
git clone --depth 1 --quiet https://github.com/vlang/vc
|
||||||
|
|
||||||
@ -36,7 +34,9 @@ if %ERRORLEVEL% NEQ 0 (
|
|||||||
goto :error
|
goto :error
|
||||||
)
|
)
|
||||||
|
|
||||||
v self -prod
|
REM remove the -prod parameter to shorten compilation time,
|
||||||
|
REM and it will be restored when v is a stable version.
|
||||||
|
v self
|
||||||
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'
|
||||||
rd /s /q vc
|
rd /s /q vc
|
||||||
@ -73,7 +73,9 @@ if %ERRORLEVEL% NEQ 0 (
|
|||||||
goto :compile_error
|
goto :compile_error
|
||||||
)
|
)
|
||||||
|
|
||||||
v self -prod
|
REM remove the -prod parameter to shorten compilation time,
|
||||||
|
REM and it will be restored when v is a stable version.
|
||||||
|
v self
|
||||||
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
|
||||||
|
Loading…
Reference in New Issue
Block a user