diff options
author | Chris Boesch <chrboesch@noreply.codeberg.org> | 2023-05-06 20:50:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-06 20:50:20 +0200 |
commit | a446d67992d6035cc6c1fba9d019e9d67f84a79c (patch) | |
tree | dddc826f1af7f8cfa3156bd1ca325934b59314a3 /build.zig | |
parent | df833e61e8c7f06bf88c263265295316539222b0 (diff) | |
parent | b6b78c628c55940c9c4a912fa6107fee5dcd4fb8 (diff) |
Merge pull request #285 from chrboesch/improve_instruction
Improve instructions.
Diffstat (limited to 'build.zig')
-rw-r--r-- | build.zig | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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! + \\ , }, .{ |