Skip to content

Commit

Permalink
Compile demo with -vet -strict-style.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kelimion committed Jul 10, 2024
1 parent 7e41340 commit b02291b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion build_odin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b02291b

Please sign in to comment.