make.bat: do not rebuild with -prod by default

pull/4573/head
yuyi 2020-04-24 13:19:24 +08:00 committed by GitHub
parent 6b31ebe456
commit d455606037
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 4 deletions

View File

@ -8,8 +8,6 @@ if exist "vc" (
rd /s /q vc
)
git version
echo Downloading v.c...
git clone --depth 1 --quiet https://github.com/vlang/vc
@ -36,7 +34,9 @@ if %ERRORLEVEL% NEQ 0 (
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 (
echo v.exe failed to compile itself - Create an issue at 'https://github.com/vlang'
rd /s /q vc
@ -73,7 +73,9 @@ if %ERRORLEVEL% NEQ 0 (
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 (
echo V failed to build itself with error %ERRORLEVEL%
rd /s /q vc