diff --git a/build.bat b/build.bat index e08bfc04b..06bc6c823 100644 --- a/build.bat +++ b/build.bat @@ -72,12 +72,10 @@ del *.ilk > NUL 2> NUL cl %compiler_settings% "src\main.cpp" "src\libtommath.cpp" /link %linker_settings% -OUT:%exe_name% if %errorlevel% neq 0 goto end_of_build -rem call build_vendor.bat -rem if %errorlevel% neq 0 goto end_of_build +call build_vendor.bat +if %errorlevel% neq 0 goto end_of_build -odin run examples/demo -vet -strict-style -rem odin check examples/all -rem odin run examples/bug +if %release_mode% EQU 0 odin run examples/demo del *.obj > NUL 2> NUL