mirror of
https://github.com/jetzig-framework/jetzig.git
synced 2025-05-14 14:06:08 +00:00
Fix environment for bundle command
This commit is contained in:
parent
bd577cc4c2
commit
d219a3ce83
@ -176,7 +176,7 @@ fn zig_build_install(allocator: std.mem.Allocator, path: []const u8, options: Op
|
||||
var install_argv = std.ArrayList([]const u8).init(allocator);
|
||||
defer install_argv.deinit();
|
||||
|
||||
try install_argv.appendSlice(&[_][]const u8{ "zig", "build" });
|
||||
try install_argv.appendSlice(&[_][]const u8{ "zig", "build", "-Denvironment=production" });
|
||||
|
||||
switch (options.optimize) {
|
||||
.ReleaseFast => try install_argv.append("-Doptimize=ReleaseFast"),
|
||||
|
Loading…
x
Reference in New Issue
Block a user