make_tests.bat: v_win.c

pull/1632/head
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
1 changed files with 3 additions and 3 deletions

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