Skip to content

Commit c0a89b0

Browse files
committed
readme: change dependency name from ziglua to lua_wrapper
1 parent 1a18506 commit c0a89b0

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
@@ -46,15 +46,15 @@ Then in your `build.zig` file you can use the dependency.
4646
pub fn build(b: *std.Build) void {
4747
// ... snip ...
4848
49-
const ziglua = b.dependency("ziglua", .{
49+
const lua_dep = b.dependency("lua_wrapper", .{
5050
.target = target,
5151
.optimize = optimize,
5252
});
5353
5454
// ... snip ...
5555
5656
// add the ziglua module and lua artifact
57-
exe.root_module.addImport("ziglua", ziglua.module("ziglua"));
57+
exe.root_module.addImport("ziglua", lua_dep.module("ziglua"));
5858
5959
}
6060
```
@@ -70,7 +70,7 @@ There are currently three additional options that can be passed to `b.dependency
7070
For example, here is a `b.dependency()` call that and links against a shared Lua 5.2 library:
7171

7272
```zig
73-
const ziglua = b.dependency("ziglua", .{
73+
const ziglua = b.dependency("lua_wrapper", .{
7474
.target = target,
7575
.optimize = optimize,
7676
.lang = .lua52,

0 commit comments

Comments
 (0)