Skip to content

Commit

Permalink
build: expose module
Browse files Browse the repository at this point in the history
  • Loading branch information
DISTREAT committed Jan 8, 2024
2 parents 41d27d3 + 40a33f9 commit 43cf447
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ pub fn build(b: *std.Build) void {
const target = b.standardTargetOptions(.{});
const mode = b.standardOptimizeOption(.{});

_ = b.addModule("zig-csv", .{
.source_file = .{ .path = "src/zig-csv.zig" },
.dependencies = &[_]std.Build.ModuleDependency{},
});

const lib = b.addStaticLibrary(.{
.name = "zig-cvs",
.root_source_file = .{ .path = "src/zig-csv.zig" },
Expand Down

0 comments on commit 43cf447

Please sign in to comment.