From 0ffc86cc7bd13b9f1851b79635d9836b14c70c0b Mon Sep 17 00:00:00 2001 From: Emil Lerch Date: Mon, 18 Sep 2023 14:52:18 -0700 Subject: [PATCH] zip changes every time - right answer is to base on executable --- src/lambdabuild.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lambdabuild.zig b/src/lambdabuild.zig index b3f1780..bb0891d 100644 --- a/src/lambdabuild.zig +++ b/src/lambdabuild.zig @@ -156,7 +156,7 @@ pub fn configureBuild(b: *std.build.Builder, exe: *std.Build.Step.Compile) !void } const cmd = try std.fmt.allocPrint(b.allocator, ifstatement, .{ function_name_file, - b.getInstallPath(.bin, "function.zip"), + b.getInstallPath(.bin, exe.out_filename), function_name_file, function_name, not_found_fmt,