From 658567bbbdfdd51ebbfc42bc76d645afdb67e798 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sat, 12 Jul 2025 06:45:52 -0700 Subject: [PATCH] fix webdata build, run it in CI This fixes our build for `-Demit-webdata`. Turns out we weren't running this in CI so this adds that there. --- .github/workflows/test.yml | 2 +- src/build/webgen/main_commands.zig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b632ae8f4..fc8adb25e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -527,7 +527,7 @@ jobs: run: nix develop -c zig build -Dapp-runtime=none test - name: Test GTK Build - run: nix develop -c zig build -Dapp-runtime=gtk -Demit-docs + run: nix develop -c zig build -Dapp-runtime=gtk -Demit-docs -Demit-webdata # This relies on the cache being populated by the commands above. - name: Test System Build diff --git a/src/build/webgen/main_commands.zig b/src/build/webgen/main_commands.zig index add8fc803..ad5c75734 100644 --- a/src/build/webgen/main_commands.zig +++ b/src/build/webgen/main_commands.zig @@ -1,5 +1,5 @@ const std = @import("std"); -const Action = @import("../../cli/action.zig").Action; +const Action = @import("../../cli/ghostty.zig").Action; const help_strings = @import("help_strings"); pub fn main() !void {