Skip to content

Commit 5dea1c3

Browse files
committed
start documenting usage in a zig project
1 parent 929ac19 commit 5dea1c3

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,19 @@ zig build -Doptimize=ReleaseFast -Dtarget=x86_64-linux-gnu
119119

120120
### Using in a Zig project
121121

122-
See the `example-zig` step in [build.zig](build.zig), and [src/example.zig](src/example.zig).
122+
Add to your `build.zig.zon`:
123+
124+
```
125+
zig fetch --save=mruby "git+https://github.com/jethrodaniel/mruby.zig#main"
126+
```
127+
128+
Then update your `build.zig` like so:
129+
130+
```
131+
TODO
132+
```
133+
134+
For more detail, see the `example-zig` step in [build.zig](build.zig), and the example file, [src/example.zig](src/example.zig).
123135

124136
TODO: document creating and using custom gems, using only a subset of the standard library, etc
125137

0 commit comments

Comments
 (0)