mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-04-19 14:00:29 +00:00
build: must set run condition to always now
This commit is contained in:
@@ -295,7 +295,3 @@ pub const Wasm = if (!builtin.target.isWasm()) struct {} else struct {
|
||||
// }
|
||||
// }
|
||||
};
|
||||
|
||||
pub const CAPI = struct {
|
||||
const Ghostty = @import("main_c.zig").Ghostty;
|
||||
};
|
||||
|
||||
@@ -59,6 +59,7 @@ fn make(step: *Step) !void {
|
||||
"libtool {s}",
|
||||
.{self.name},
|
||||
));
|
||||
run.condition = .always;
|
||||
run.addArgs(&.{ "libtool", "-static", "-o", output_path });
|
||||
for (self.sources) |source| {
|
||||
run.addArg(source.getPath(self.builder));
|
||||
|
||||
@@ -61,6 +61,7 @@ fn make(step: *Step) !void {
|
||||
"lipo {s}",
|
||||
.{self.name},
|
||||
));
|
||||
run.condition = .always;
|
||||
run.addArgs(&.{
|
||||
"lipo",
|
||||
"-create",
|
||||
|
||||
@@ -59,6 +59,7 @@ fn make(step: *Step) !void {
|
||||
"xcframework delete {s}",
|
||||
.{self.name},
|
||||
));
|
||||
run.condition = .always;
|
||||
run.addArgs(&.{ "rm", "-rf", output_path });
|
||||
try run.step.make();
|
||||
}
|
||||
@@ -67,6 +68,7 @@ fn make(step: *Step) !void {
|
||||
"xcframework {s}",
|
||||
.{self.name},
|
||||
));
|
||||
run.condition = .always;
|
||||
run.addArgs(&.{
|
||||
"xcodebuild", "-create-xcframework",
|
||||
"-library", self.library.getPath(self.builder),
|
||||
|
||||
@@ -21,7 +21,6 @@ const main = @import("main.zig");
|
||||
/// Global options so we can log. This is identical to main.
|
||||
pub const std_options = main.std_options;
|
||||
|
||||
pub usingnamespace @import("App.zig").CAPI;
|
||||
pub usingnamespace @import("config.zig").CAPI;
|
||||
|
||||
/// Initialize ghostty global state. It is possible to have more than
|
||||
|
||||
Reference in New Issue
Block a user