Selaa lähdekoodia

Compile demo with -vet -strict-style.

Jeroen van Rijn 1 vuosi sitten
vanhempi
commit
b02291b20a
2 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 1 1
      build.bat
  2. 1 1
      build_odin.sh

+ 1 - 1
build.bat

@@ -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
 

+ 1 - 1
build_odin.sh

@@ -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