aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--build.zig8
1 files changed, 5 insertions, 3 deletions
diff --git a/build.zig b/build.zig
index 6d8e34b..802f2f5 100644
--- a/build.zig
+++ b/build.zig
@@ -519,14 +519,15 @@ const ZiglingStep = struct {
const path = self.exercise.main_file;
const key = self.exercise.key();
- print("\n{s}Edit exercises/{s} and run this again.{s}", .{
+ print("\n{s}Edit exercises/{s} and run 'zig build' again.{s}\n", .{
red_text, path, reset_text,
});
const format =
\\
- \\{s}To continue from this zigling, use this command:{s}
- \\ {s}zig build -Dn={s}{s}
+ \\{s}To compile only this exercise, you can also use this command:{s}
+ \\{s}zig build -Dn={s}{s}
+ \\
\\
;
print(format, .{ red_text, reset_text, bold_text, key, reset_text });
@@ -690,6 +691,7 @@ const exercises = [_]Exercise{
\\See how it has something to do with 'main'?
\\Open up the source file as noted and read the comments.
\\You can do this!
+ \\
,
},
.{