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:
parent
88d775e78e
commit
90d15215af
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user