update README and rename (wayland->wl in project name)

This commit is contained in:
2026-03-21 17:30:57 +00:00
parent d903e5c126
commit aec9ff7d23
4 changed files with 15 additions and 22 deletions
+2 -5
View File
@@ -21,7 +21,7 @@ pub fn build(b: *std.Build) !void {
});
const generator = b.addExecutable(.{
.name = "wayland-protocol-codegen",
.name = "wl-protocol-codegen",
.root_module = root,
});
b.installArtifact(generator);
@@ -33,16 +33,13 @@ pub fn build(b: *std.Build) !void {
wl_generate_cmd.addFileArg(protocol);
}
wl_generate_cmd.addArg("-o");
if (debug_opt) wl_generate_cmd.addArg("--debug");
wl_generate_cmd.addArg("-o");
const protocols_zig = wl_generate_cmd.addOutputFileArg("protocols.zig");
const protocols_zig_module = b.addModule("wayland-protocols", .{
.root_source_file = protocols_zig,
});
_ = protocols_zig_module;
}
}