Skip to content

Commit

Permalink
feat:expose module
Browse files Browse the repository at this point in the history
Signed-off-by: Chen Kai <[email protected]>
  • Loading branch information
GrapeBaBa committed Nov 24, 2024
1 parent c1542ee commit b0feca1
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ pub fn build(b: *std.Build) !void {
const target = b.standardTargetOptions(.{});
const optimize = b.standardOptimizeOption(.{});

// Create module
_ = b.addModule("libuv", .{
.root_source_file = .{ .cwd_relative = "src/main.zig" },
});

const tests = b.addTest(.{
.name = "pixman-test",
.root_source_file = .{ .cwd_relative = "src/main.zig" },
Expand Down
12 changes: 12 additions & 0 deletions build.zig.zon
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
.{
.name = "libuv",
.version = "0.1.0",
.paths = .{
"src",
"build.zig",
"build.zig.zon",
"LICENSE",
"README.md",
},
.dependencies = .{},
}
Empty file added build.zig.zon.zig
Empty file.

0 comments on commit b0feca1

Please sign in to comment.