mirror of
https://codeberg.org/andyscott/ziglings.git
synced 2024-12-22 14:03:10 -05:00
Merge branch 'ratfactor:main' into testing
This commit is contained in:
commit
ea93abf4d4
1 changed files with 5 additions and 3 deletions
|
@ -523,15 +523,16 @@ const ZiglingStep = struct {
|
||||||
const path = self.exercise.main_file;
|
const path = self.exercise.main_file;
|
||||||
const key = self.exercise.key();
|
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,
|
red_text, path, reset_text,
|
||||||
});
|
});
|
||||||
|
|
||||||
const format =
|
const format =
|
||||||
\\
|
\\
|
||||||
\\{s}To continue from this zigling, use this command:{s}
|
\\{s}To compile only this exercise, you can also use this command:{s}
|
||||||
\\{s}zig build -Dn={s}{s}
|
\\{s}zig build -Dn={s}{s}
|
||||||
\\
|
\\
|
||||||
|
\\
|
||||||
;
|
;
|
||||||
print(format, .{ red_text, reset_text, bold_text, key, reset_text });
|
print(format, .{ red_text, reset_text, bold_text, key, reset_text });
|
||||||
}
|
}
|
||||||
|
@ -694,6 +695,7 @@ const exercises = [_]Exercise{
|
||||||
\\See how it has something to do with 'main'?
|
\\See how it has something to do with 'main'?
|
||||||
\\Open up the source file as noted and read the comments.
|
\\Open up the source file as noted and read the comments.
|
||||||
\\You can do this!
|
\\You can do this!
|
||||||
|
\\
|
||||||
,
|
,
|
||||||
},
|
},
|
||||||
.{
|
.{
|
||||||
|
|
Loading…
Reference in a new issue