Ver código fonte

build_web_example vetting

Karl Zylinski 2 meses atrás
pai
commit
2a6629dd59

+ 1 - 1
.sublime/karl2d.sublime-project

@@ -18,7 +18,7 @@
 				},
 				{
 					"name": "minimal (web)",
-					"shell_cmd": "odin run build_web_example -- minimal_web",
+					"shell_cmd": "odin run build_web_example -vet -strict-style -- minimal_web",
 					"working_dir": "$project_path/../examples"
 				},
 				{

+ 1 - 1
examples/build_web_example/build_web_example.odin

@@ -56,7 +56,7 @@ main :: proc() {
 
 	wasm_out_path := filepath.join({web_build_dir, "main.wasm"})
 
-	build_status, build_std_out, build_std_err, build_err := os2.process_exec({
+	_, build_std_out, build_std_err, _ := os2.process_exec({
 		command = {
 			"odin",
 			"build",