zip changes every time - right answer is to base on executable

This commit is contained in:
Emil Lerch 2023-09-18 14:52:18 -07:00
parent 7eadd2e6e5
commit 0ffc86cc7b
Signed by: lobo
GPG Key ID: A7B62D657EF764F8

View File

@ -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,