Skip to content

Commit

Permalink
build: expose module
Browse files Browse the repository at this point in the history
  • Loading branch information
thechampagne authored and DISTREAT committed Jan 8, 2024
1 parent 41d27d3 commit ce0a90d
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 ce0a90d

Please sign in to comment.