1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

windows: Unicode input in REPL

This commit is contained in:
vitalyster
2019-09-20 17:03:13 +03:00
committed by Alexander Medvednikov
parent f042dfb861
commit f1bb25bfaf
5 changed files with 21 additions and 11 deletions

View File

@@ -34,8 +34,9 @@ if %ERRORLEVEL% NEQ 0 (
exit /b 1
)
echo Building v.v...
v2.exe -o v.exe compiler
echo rebuild from source (twice, in case of C definitions changes)
v2.exe -o v3.exe compiler
v3.exe -o v.exe -prod compiler
if %ERRORLEVEL% NEQ 0 (
echo v.exe failed to compile itself - Create an issue at 'https://github.com/vlang'
exit /b 1
@@ -66,14 +67,16 @@ if %ERRORLEVEL% NEQ 0 (
goto :compileerror
)
echo rebuild from source
v2.exe -os msvc -o v.exe compiler
echo rebuild from source (twice, in case of C definitions changes)
v2.exe -os msvc -o v3.exe compiler
v3.exe -os msvc -o v.exe -prod compiler
if %ERRORLEVEL% NEQ 0 (
echo V failed to build itself
goto :compileerror
)
del v2.exe
del v3.exe
rd /s /q vc
goto :success