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

make_tests.bat: v_win.c

This commit is contained in:
Alexander Medvednikov 2019-08-17 13:26:26 +03:00 committed by GitHub
parent 88d775e78e
commit 90d15215af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,15 +2,15 @@
echo Cleanup echo Cleanup
del v.exe del v.exe
del v.c del v_win.c
del v2.exe del v2.exe
echo fetch v.c echo fetch v.c
curl -O https://raw.githubusercontent.com/vlang/vc/master/v.c curl -O https://raw.githubusercontent.com/vlang/vc/master/v_win.c
if %ERRORLEVEL% NEQ 0 goto :fail if %ERRORLEVEL% NEQ 0 goto :fail
echo build vc using gcc echo build vc using gcc
gcc -std=gnu11 -DUNICODE -D_UNICODE -w -o vc.exe v.c gcc -std=gnu11 -DUNICODE -D_UNICODE -w -o vc.exe v_win.c
del v.c del v.c
if %ERRORLEVEL% NEQ 0 goto :fail if %ERRORLEVEL% NEQ 0 goto :fail