feat: add commands to execute shell tasks from keybindings
This is the first part of #67.
This commit is contained in:
parent
337b6ce626
commit
cfc99b61dc
5 changed files with 259 additions and 3 deletions
10
build.zig
10
build.zig
|
@ -380,6 +380,15 @@ pub fn build_exe(
|
|||
break :blk b.addRunArtifact(tests);
|
||||
};
|
||||
|
||||
const shell_mod = b.createModule(.{
|
||||
.root_source_file = b.path("src/shell.zig"),
|
||||
.imports = &.{
|
||||
.{ .name = "thespian", .module = thespian_mod },
|
||||
.{ .name = "cbor", .module = cbor_mod },
|
||||
.{ .name = "log", .module = log_mod },
|
||||
},
|
||||
});
|
||||
|
||||
const ripgrep_mod = b.createModule(.{
|
||||
.root_source_file = b.path("src/ripgrep.zig"),
|
||||
.imports = &.{
|
||||
|
@ -444,6 +453,7 @@ pub fn build_exe(
|
|||
.{ .name = "text_manip", .module = text_manip_mod },
|
||||
.{ .name = "Buffer", .module = Buffer_mod },
|
||||
.{ .name = "keybind", .module = keybind_mod },
|
||||
.{ .name = "shell", .module = shell_mod },
|
||||
.{ .name = "ripgrep", .module = ripgrep_mod },
|
||||
.{ .name = "theme", .module = themes_dep.module("theme") },
|
||||
.{ .name = "themes", .module = themes_dep.module("themes") },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue