cleanup make.bat and .travis.yml
parent
377956e969
commit
059cb9cb74
|
@ -53,10 +53,6 @@ script:
|
||||||
./make.bat -msvc
|
./make.bat -msvc
|
||||||
fi
|
fi
|
||||||
|
|
||||||
### running just repl_test.v produces failing results earlier and is easier to read
|
|
||||||
echo "Running only the repl tests directly..."
|
|
||||||
./v.exe ./compiler/tests/repl/repl_test.v
|
|
||||||
echo "Running ALL tests..."
|
|
||||||
./v.exe test v
|
./v.exe test v
|
||||||
set +e
|
set +e
|
||||||
fi
|
fi
|
||||||
|
|
4
make.bat
4
make.bat
|
@ -28,7 +28,7 @@ if not exist "%gccpath%" (
|
||||||
goto:msvcstrap
|
goto:msvcstrap
|
||||||
)
|
)
|
||||||
|
|
||||||
gcc -DUNICODE -D_UNICODE -std=gnu11 -w -o v2.exe vc\v_win.c
|
gcc -std=gnu11 -w -o v2.exe vc\v_win.c
|
||||||
if %ERRORLEVEL% NEQ 0 (
|
if %ERRORLEVEL% NEQ 0 (
|
||||||
echo gcc failed to compile - Create an issue at 'https://github.com/vlang'
|
echo gcc failed to compile - Create an issue at 'https://github.com/vlang'
|
||||||
exit /b 1
|
exit /b 1
|
||||||
|
@ -60,7 +60,7 @@ if exist "%InstallDir%\Common7\Tools\vsdevcmd.bat" (
|
||||||
goto :nocompiler
|
goto :nocompiler
|
||||||
)
|
)
|
||||||
|
|
||||||
cl.exe -DUNICODE -D_UNICODE /nologo /w /volatile:ms /Fo.v.c.obj /O2 /MD vc\v_win.c user32.lib kernel32.lib advapi32.lib shell32.lib /link /NOLOGO /OUT:v2.exe /INCREMENTAL:NO
|
cl.exe /nologo /w /volatile:ms /Fo.v.c.obj /O2 /MD vc\v_win.c user32.lib kernel32.lib advapi32.lib shell32.lib /link /NOLOGO /OUT:v2.exe /INCREMENTAL:NO
|
||||||
if %ERRORLEVEL% NEQ 0 (
|
if %ERRORLEVEL% NEQ 0 (
|
||||||
echo cl.exe failed to build V
|
echo cl.exe failed to build V
|
||||||
goto :compileerror
|
goto :compileerror
|
||||||
|
|
Loading…
Reference in New Issue