diff --git a/build.zig b/build.zig index 2f84fbb..3943d01 100644 --- a/build.zig +++ b/build.zig @@ -460,6 +460,10 @@ const exercises = [_]Exercise{ // .output = "ABCDEF", // .@"async" = true, // }, + .{ + .main_file = "999_the_end.zig", + .output = "This 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.", + }, }; /// Check the zig version to make sure it can compile the examples properly. diff --git a/exercises/999_the_end.zig b/exercises/999_the_end.zig new file mode 100644 index 0000000..4ff2449 --- /dev/null +++ b/exercises/999_the_end.zig @@ -0,0 +1,8 @@ +// This is the end for now! +// More exercises will follow... + +const print = @import("std").debug.print; + +pub fn main() void { + print("\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.\n", .{}); +} diff --git a/patches/patches/999_the_end.patch b/patches/patches/999_the_end.patch new file mode 100644 index 0000000..ae674da --- /dev/null +++ b/patches/patches/999_the_end.patch @@ -0,0 +1,2 @@ +8a9 +> // gollum's line ;-)