authorgravatar for hello@nektro.netMeghan <hello@nektro.net> 2020-11-16 21:49:40 -08:00
committergravatar for hello@nektro.netMeghan <hello@nektro.net> 2020-11-16 21:49:40 -08:00
log68eee7b65deb70d84c2df7ecd3b64c1d52eb22f9
treee58b263856607129901c42cf67f6ab243fc7675e
parent9445a0a88aae18b5f0cd1daf3e2e9ac2882fe57d

build- remove zig from binary name


1 files changed, 1 insertions(+), 1 deletions(-)

build.zig+1-1
......@@ -11,7 +11,7 @@ pub fn build(b: *Builder) void {
1111 const use_full_name = b.option(bool, "use-full-name", "") orelse false;
1212 const with_os_arch = b.fmt("-{}-{}", .{@tagName(target.os_tag orelse builtin.os.tag), @tagName(target.cpu_arch orelse builtin.arch)});
1313 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 "" });
1515
1616 const exe = b.addExecutable(exe_name, "src/main.zig");
1717 exe.setTarget(target);