Split river and riverctl directories

This commit is contained in:
Isaac Freund 2020-06-01 15:56:50 +02:00
parent 62abfc5ee5
commit 939beef168
No known key found for this signature in database
GPG Key ID: 86DED400DDFD7A11
49 changed files with 3 additions and 3 deletions

View File

@ -20,7 +20,7 @@ pub fn build(b: *std.build.Builder) !void {
const scan_protocols = ScanProtocolsStep.create(b); const scan_protocols = ScanProtocolsStep.create(b);
{ {
const river = b.addExecutable("river", "src/river.zig"); const river = b.addExecutable("river", "river/main.zig");
river.setTarget(target); river.setTarget(target);
river.setBuildMode(mode); river.setBuildMode(mode);
river.addBuildOption(bool, "xwayland", xwayland); river.addBuildOption(bool, "xwayland", xwayland);
@ -38,7 +38,7 @@ pub fn build(b: *std.build.Builder) !void {
} }
{ {
const riverctl = b.addExecutable("riverctl", "src/riverctl.zig"); const riverctl = b.addExecutable("riverctl", "riverctl/main.zig");
riverctl.setTarget(target); riverctl.setTarget(target);
riverctl.setBuildMode(mode); riverctl.setBuildMode(mode);
@ -52,7 +52,7 @@ pub fn build(b: *std.build.Builder) !void {
} }
{ {
const river_test = b.addTest("src/test_main.zig"); const river_test = b.addTest("river/test_main.zig");
river_test.setTarget(target); river_test.setTarget(target);
river_test.setBuildMode(mode); river_test.setBuildMode(mode);
river_test.addBuildOption(bool, "xwayland", xwayland); river_test.addBuildOption(bool, "xwayland", xwayland);