Skip to content

Commit 39c5908

Browse files
author
coderthetyler
committed
Export zon module
1 parent 2a44987 commit 39c5908

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

build.zig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ pub fn build(b: *std.Build) void {
1414
lib.linkLibC();
1515
lib.linkSystemLibrary("asound");
1616

17+
_ = b.addModule("zig-alsa", .{
18+
.source_file = .{ .path = "src/main.zig" },
19+
.dependencies = &.{},
20+
});
21+
1722
b.installArtifact(lib);
1823

1924
const main_tests = b.addTest(.{

build.zig.zon

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
.{
2+
.name = "zig-alsa",
3+
.version = "0.0.1",
4+
.paths = .{
5+
"src/",
6+
"build.zig",
7+
"build.zig.zon",
8+
"README.md",
9+
},
10+
}

0 commit comments

Comments
 (0)