Skip to content

Commit

Permalink
Fix shell
Browse files Browse the repository at this point in the history
Signed-off-by: Francis Bouvier <[email protected]>
  • Loading branch information
francisbouvier committed Jan 17, 2024
1 parent 8729f8c commit 9e80daa
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/api.zig
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ pub const ContextExecFn = internal.eng.ContextExecFn;
// Utils
// -----

pub const MergeTuple = internal.gen.MergeTuple;

pub const shell = @import("shell.zig").shell;
pub const shellExec = @import("shell.zig").shellExec;

Expand Down
7 changes: 5 additions & 2 deletions src/main_shell.zig
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@ const std = @import("std");

const public = @import("api.zig");

const Window = @import("tests/cbk_test.zig").Window;
const WindowTypes = @import("tests/cbk_test.zig").Types;

pub const Types = public.reflect(.{ public.Console, Window });
pub const Types = public.reflect(public.MergeTuple(.{
.{public.Console},
WindowTypes,
}));

pub fn main() !void {

Expand Down

0 comments on commit 9e80daa

Please sign in to comment.