From d4556060376e5c764fa19675c6b090e95e3272db Mon Sep 17 00:00:00 2001 From: yuyi Date: Fri, 24 Apr 2020 13:19:24 +0800 Subject: [PATCH] make.bat: do not rebuild with -prod by default --- make.bat | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/make.bat b/make.bat index bf8ae86a8c..9171e50a5c 100644 --- a/make.bat +++ b/make.bat @@ -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