Skip to content

Commit fe9dd73

Browse files
committed
Replace build.sh with nob.c
1 parent 5fe244f commit fe9dd73

File tree

3 files changed

+8
-27
lines changed

3 files changed

+8
-27
lines changed

build.sh

Lines changed: 0 additions & 24 deletions
This file was deleted.

nob.c

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,14 @@ Example examples[] = {
2929
.wasm_path = "./wasm/shapes_colors_palette.wasm",
3030
},
3131
{
32-
.src_path = "game.c",
33-
.bin_path = "./build/game",
34-
.wasm_path = "wasm/game.wasm",
32+
.src_path = "./examples/tsoding_ball.c",
33+
.bin_path = "./build/tsoding_ball",
34+
.wasm_path = "./wasm/tsoding_ball.wasm",
35+
},
36+
{
37+
.src_path = "./examples/tsoding_snake/tsoding_snake.c",
38+
.bin_path = "./build/tsoding_snake",
39+
.wasm_path = "./wasm/tsoding_snake.wasm",
3540
},
3641
{
3742
.src_path = "./examples/core_input_mouse_wheel.c",

wasm/tsoding_snake.wasm

-21 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)