repl tweaks

This commit is contained in:
Luna 2019-09-29 23:57:24 -03:00
parent 52950f9a6f
commit 0e323f6631
2 changed files with 4 additions and 4 deletions

View File

@ -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");

View File

@ -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");
} }
} }