From b2c81c50ed7f709e714eb9b5bc7c670e832ee220 Mon Sep 17 00:00:00 2001 From: CJ van den Berg Date: Tue, 12 Nov 2024 21:39:16 +0100 Subject: [PATCH] refactor: rename keybind module root source file --- build.zig | 2 +- src/keybind/static/input/home.zig | 2 +- src/keybind/static/{root.zig => keybind.zig} | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename src/keybind/static/{root.zig => keybind.zig} (100%) diff --git a/build.zig b/build.zig index 1a065c4..9be2668 100644 --- a/build.zig +++ b/build.zig @@ -160,7 +160,7 @@ pub fn build(b: *std.Build) void { }); const keybind_static_mod = b.createModule(.{ - .root_source_file = b.path("src/keybind/static/root.zig"), + .root_source_file = b.path("src/keybind/static/keybind.zig"), .imports = &.{ .{ .name = "cbor", .module = cbor_mod }, .{ .name = "command", .module = command_mod }, diff --git a/src/keybind/static/input/home.zig b/src/keybind/static/input/home.zig index f6840b2..6021b9f 100644 --- a/src/keybind/static/input/home.zig +++ b/src/keybind/static/input/home.zig @@ -5,7 +5,7 @@ const event_type = @import("renderer").input.event_type; const mod = @import("renderer").input.modifier; const command = @import("command"); const EventHandler = @import("EventHandler"); -const keybind = @import("../root.zig"); +const keybind = @import("../keybind.zig"); const Self = @This(); diff --git a/src/keybind/static/root.zig b/src/keybind/static/keybind.zig similarity index 100% rename from src/keybind/static/root.zig rename to src/keybind/static/keybind.zig