Skip to content

Commit 16cf0fe

Browse files
committed
docs: adjust README.md to reflect the new way of building examples
1 parent 00e1e3b commit 16cf0fe

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77

88
Build all examples:
99
```
10-
zig build
10+
zig build -- all
1111
```
1212

13-
Build and run a single example with `zig build example_name`, e.g.
13+
Build and run a single example with `zig build -- ./src/examples/path/to/example.zig`, e.g.
1414
```
15-
zig build greet
15+
zig build -- ./src/examples/datastructures/reactivity.zig
1616
```

0 commit comments

Comments
 (0)