repl tweaks
This commit is contained in:
parent
52950f9a6f
commit
0e323f6631
2 changed files with 4 additions and 4 deletions
|
@ -2,12 +2,11 @@ const builds = @import("std").build;
|
||||||
const Builder = @import("std").build.Builder;
|
const Builder = @import("std").build.Builder;
|
||||||
|
|
||||||
fn setupLinks(step: *builds.LibExeObjStep) void {
|
fn setupLinks(step: *builds.LibExeObjStep) void {
|
||||||
|
step.linkSystemLibrary("c");
|
||||||
|
|
||||||
step.linkSystemLibrary("lilv-0");
|
step.linkSystemLibrary("lilv-0");
|
||||||
step.linkSystemLibrary("sndfile");
|
step.linkSystemLibrary("sndfile");
|
||||||
|
|
||||||
// TODO 2.30 glibc
|
|
||||||
step.linkSystemLibrary("c");
|
|
||||||
|
|
||||||
step.linkSystemLibrary("GraphicsMagickWand");
|
step.linkSystemLibrary("GraphicsMagickWand");
|
||||||
step.linkSystemLibrary("GraphicsMagick");
|
step.linkSystemLibrary("GraphicsMagick");
|
||||||
|
|
||||||
|
|
|
@ -65,7 +65,7 @@ pub fn doRepl(allocator: *std.mem.Allocator, args_it: var) !void {
|
||||||
defer runqs_args.deinit();
|
defer runqs_args.deinit();
|
||||||
|
|
||||||
// TODO change the runqs command to something given in an env var
|
// TODO change the runqs command to something given in an env var
|
||||||
try runqs_args.append("ristretto");
|
try runqs_args.append("feh");
|
||||||
|
|
||||||
while (true) {
|
while (true) {
|
||||||
lang.reset();
|
lang.reset();
|
||||||
|
@ -114,6 +114,7 @@ pub fn doRepl(allocator: *std.mem.Allocator, args_it: var) !void {
|
||||||
});
|
});
|
||||||
|
|
||||||
try runner_clone.runCommands(cmds_parsed, true);
|
try runner_clone.runCommands(cmds_parsed, true);
|
||||||
|
try stdout.write("\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue