Skip to content

Commit 7479680

Browse files
authored
Fix test generation
1 parent 5e2bdef commit 7479680

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

build.zig

+1-3
Original file line numberDiff line numberDiff line change
@@ -109,14 +109,12 @@ pub fn build(b: *Build) void {
109109
run_step.dependOn(&run_cmd.step);
110110
}
111111

112-
const docs = b.addStaticLibrary(.{
112+
const docs = b.addObject(.{
113113
.name = "ziglua",
114114
.root_source_file = b.path("src/lib.zig"),
115115
.target = target,
116116
.optimize = optimize,
117117
});
118-
docs.root_module.addOptions("config", config);
119-
docs.root_module.addImport("ziglua", ziglua);
120118

121119
const install_docs = b.addInstallDirectory(.{
122120
.source_dir = docs.getEmittedDocs(),

0 commit comments

Comments
 (0)