summaryrefslogtreecommitdiff
path: root/dev/root.zig
blob: 2c70783f2b1ac590c472acaaf435b385c847b201 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
//! The devices: the frontends (tui, gui; the macOS app's Swift and
//! resources in macos/), the host's services (host_io), the file watcher,
//! the fonts installed, the language servers' client and the SCIP index,
//! and what the frontends share (Art, jump_trail, glide, vaxis_input).
//! Module `dev`, naming `core` and `runtime`.
pub const tui = @import("tui/tui.zig");
pub const gui = @import("gui/gui.zig");
pub const host_io = @import("host_io.zig");
pub const file_watch = @import("file_watch.zig");
pub const fonts = @import("fonts.zig");
pub const lsp_client = @import("lsp/lsp_client.zig");
pub const Scip = @import("lsp/Scip.zig");
pub const Art = @import("Art.zig");
pub const jump_trail = @import("jump_trail.zig");
pub const glide = @import("glide.zig");
pub const vaxis_input = @import("vaxis_input.zig");

test {
    _ = host_io;
    _ = host_io.Shell;
    _ = host_io.Lsp;
    _ = file_watch;
    _ = fonts;
    _ = lsp_client;
    _ = Scip;
    _ = glide;
    // The frontends', which main.zig's test block collected: a shell's
    // build (shell-test); the core without a terminal never compiled them.
    if (comptime @import("term_options").terminal) {
        if (comptime @import("pardes_config").platform == .tui) _ = tui;
        if (comptime @import("pardes_config").platform == .gui) _ = gui;
        _ = vaxis_input;
    }
}