diff options
author | Chris Boesch <chrboesch@noreply.codeberg.org> | 2023-02-11 11:43:09 +0100 |
---|---|---|
committer | Chris Boesch <chrboesch@noreply.codeberg.org> | 2023-02-11 11:43:09 +0100 |
commit | 35c5d6b976edb16c484e278aabc3d750e2880a77 (patch) | |
tree | bfa3639de5732368c215e3c69975c754abdeaa2a /build.zig | |
parent | 9b38f3584b85e9396ebd19d6ca8966b980022a93 (diff) |
added 092_interfaces to build
Diffstat (limited to 'build.zig')
-rw-r--r-- | build.zig | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -461,6 +461,10 @@ const exercises = [_]Exercise{ // .@"async" = true, // }, .{ + .main_file = "092_interfaces.zig", + .output = "Daily insect report:\nAnt is alive.\nBee visited 17 flowers.\nGrasshopper hopped 32 m.", + }, + .{ .main_file = "999_the_end.zig", .output = "\nThis is the end for now!\nWe hope you had fun and were able to learn a lot, so visit us again when the next exercises are available.", }, @@ -564,10 +568,7 @@ pub fn build(b: *Builder) void { const file_path = std.fs.path.join(b.allocator, &[_][]const u8{ if (use_healed) "patches/healed" else "exercises", ex.main_file, }) catch unreachable; - const build_step = b.addExecutable(.{ - .name = base_name, - .root_source_file = .{ .path = file_path } - }); + const build_step = b.addExecutable(.{ .name = base_name, .root_source_file = .{ .path = file_path } }); build_step.install(); |