Skip to content

Commit

Permalink
feat: expose module
Browse files Browse the repository at this point in the history
  • Loading branch information
Hanaasagi committed Jun 24, 2023
1 parent 77637b3 commit 7a382aa
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 @@ -15,6 +15,11 @@ pub fn build(b: *std.Build) void {
// set a preferred release mode, allowing the user to decide how to optimize.
const optimize = b.standardOptimizeOption(.{});

_ = b.addModule("dotenv", .{
.source_file = .{ .path = "src/lib.zig" },
.dependencies = &.{},
});

const lib = b.addStaticLibrary(.{
.name = "dotenv",
// In this case the main source file is merely a path, however, in more
Expand Down

0 comments on commit 7a382aa

Please sign in to comment.