diff options
author | Martin Ashby <martin@ashbysoft.com> | 2024-05-26 14:48:20 +0100 |
---|---|---|
committer | Martin Ashby <martin@ashbysoft.com> | 2024-05-26 14:48:20 +0100 |
commit | 17790173f953d34fd0e2c9cd7c8e0c9bf9be4e5f (patch) | |
tree | a0f7831087ac28c9f3f3bad231ed93f2d2b7cd68 /build.zig | |
parent | c99cb339e87b28d937899f9561f106968772ee0c (diff) | |
download | smtp-zig-main.tar.gz smtp-zig-main.tar.bz2 smtp-zig-main.tar.xz smtp-zig-main.zip |
Diffstat (limited to 'build.zig')
-rw-r--r-- | build.zig | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -6,15 +6,15 @@ pub fn build(b: *std.Build) void { const lib = b.addStaticLibrary(.{ .name = "smtp", - .root_source_file = .{ .path = "src/main.zig" }, + .root_source_file = b.path("src/main.zig"), .target = target, .optimize = optimize, }); b.installArtifact(lib); - _ = b.addModule("smtp", .{ .root_source_file = .{ .path = "src/main.zig" } }); + _ = b.addModule("smtp", .{ .root_source_file = b.path("src/main.zig") }); const main_tests = b.addTest(.{ - .root_source_file = .{ .path = "src/main.zig" }, + .root_source_file = b.path("src/main.zig"), .target = target, .optimize = optimize, }); |