Compile demo with -vet -strict-style.

This commit is contained in:
Jeroen van Rijn
2024-07-10 19:26:35 +02:00
parent 7e41340510
commit b02291b20a
2 changed files with 2 additions and 2 deletions

View File

@@ -114,7 +114,7 @@ call build_vendor.bat
if %errorlevel% neq 0 goto end_of_build
rem If the demo doesn't run for you and your CPU is more than a decade old, try -microarch:native
if %release_mode% EQU 0 odin run examples/demo -- Hellope World
if %release_mode% EQU 0 odin run examples/demo -vet -strict-style -- Hellope World
del *.obj > NUL 2> NUL

View File

@@ -144,7 +144,7 @@ build_odin() {
}
run_demo() {
./odin run examples/demo/demo.odin -file -- Hellope World
./odin run examples/demo -vet -strict-style -- Hellope World
}
if [ $# -eq 0 ]; then