From 13e43528b538fe98f8549f81c5d1ccae303ebcfd Mon Sep 17 00:00:00 2001 From: Emil Lerch Date: Wed, 30 Jun 2021 11:13:12 -0700 Subject: [PATCH] move install to end --- build.zig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.zig b/build.zig index bb3b698..2e32598 100644 --- a/build.zig +++ b/build.zig @@ -56,7 +56,6 @@ pub fn build(b: *Builder) !void { const is_strip = b.option(bool, "strip", "strip exe") orelse true; exe.strip = !is_strip; - exe.install(); const run_cmd = exe.run(); run_cmd.step.dependOn(b.getInstallStep()); @@ -97,4 +96,6 @@ pub fn build(b: *Builder) !void { b.getInstallStep().dependOn(codegen); test_step.dependOn(codegen); } + + exe.install(); }