| ... | ... | @@ -11,7 +11,7 @@ pub fn build(b: *Builder) void { |
| 11 | 11 | const use_full_name = b.option(bool, "use-full-name", "") orelse false; |
| 12 | 12 | const with_os_arch = b.fmt("-{}-{}", .{@tagName(target.os_tag orelse builtin.os.tag), @tagName(target.cpu_arch orelse builtin.arch)}); |
| 13 | 13 | const version_tag = if (b.option([]const u8, "tag", "")) |vt| b.fmt("-{}", .{vt}) else ""; |
| 14 | | const exe_name = b.fmt("{}{}{}", .{ "zigmod-zig", version_tag, if (use_full_name) with_os_arch else "" }); |
| 14 | const exe_name = b.fmt("{}{}{}", .{ "zigmod", version_tag, if (use_full_name) with_os_arch else "" }); |
| 15 | 15 | |
| 16 | 16 | const exe = b.addExecutable(exe_name, "src/main.zig"); |
| 17 | 17 | exe.setTarget(target); |