From 68eee7b65deb70d84c2df7ecd3b64c1d52eb22f9 Mon Sep 17 00:00:00 2001 From: Meghan Date: Mon, 16 Nov 2020 21:49:40 -0800 Subject: [PATCH] build- remove zig from binary name --- build.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.zig b/build.zig index 28c2232e1aeca82de861cc5a478a2f67d04cd02b..0f2744eaa7188b779fbe70bda7d6e9228485d821 100644 --- a/build.zig +++ b/build.zig @@ -11,7 +11,7 @@ pub fn build(b: *Builder) void { const use_full_name = b.option(bool, "use-full-name", "") orelse false; const with_os_arch = b.fmt("-{}-{}", .{@tagName(target.os_tag orelse builtin.os.tag), @tagName(target.cpu_arch orelse builtin.arch)}); const version_tag = if (b.option([]const u8, "tag", "")) |vt| b.fmt("-{}", .{vt}) else ""; - const exe_name = b.fmt("{}{}{}", .{ "zigmod-zig", version_tag, if (use_full_name) with_os_arch else "" }); + const exe_name = b.fmt("{}{}{}", .{ "zigmod", version_tag, if (use_full_name) with_os_arch else "" }); const exe = b.addExecutable(exe_name, "src/main.zig"); exe.setTarget(target); -- 2.54.0