mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2024-12-13 12:43:00 +01:00
automatically strip mzteinit binary in release mode
This commit is contained in:
parent
fee780cff7
commit
d20dc292be
1 changed files with 1 additions and 0 deletions
|
@ -14,6 +14,7 @@ pub fn build(b: *std.build.Builder) void {
|
|||
|
||||
const exe = b.addExecutable("mzteinit", "src/main.zig");
|
||||
exe.setTarget(target);
|
||||
exe.strip = mode != .Debug;
|
||||
|
||||
pkgs.addAllTo(exe);
|
||||
|
||||
|
|
Loading…
Reference in a new issue