mirror of
https://codeberg.org/ziglings/exercises.git
synced 2025-09-20 14:45:36 +00:00
Formatting
This commit is contained in:
parent
fd9e9aa36e
commit
ad361c4b18
|
@ -51,6 +51,7 @@ downloads page.
|
|||
If you run into an error in Ziglings caused by breaking changes
|
||||
in the latest development build of Zig, that's a new bug in
|
||||
Ziglings. Please file an issue...or make a pull request!
|
||||
|
||||
For the latter, also read "The Secrets” section.
|
||||
|
||||
|
||||
|
@ -95,10 +96,10 @@ Every Ziglings exercise contains mistakes on purpose.
|
|||
To keep our automated tests happy, each exercise also
|
||||
has a patch in `patches/healed` that “heals” it.
|
||||
|
||||
When you change an exercise, you’ll usually need to update
|
||||
When you change an exercise, you will usually need to update
|
||||
its patch too. That’s where our little helper Gollum comes in:
|
||||
|
||||
1. In the project root, create a folder called answers/
|
||||
1. In the project root, create a folder called `answers/`
|
||||
2. Put your solved version of the exercise file in there
|
||||
3. Back in the root, run:
|
||||
`./patches/gollum <exercise-number>`
|
||||
|
@ -109,7 +110,7 @@ its patch too. That’s where our little helper Gollum comes in:
|
|||
Double-check everything by asking the magical Eowyn:
|
||||
`./patches/eowyn`
|
||||
|
||||
If all tests pass: 🎉 You’re done!
|
||||
If all tests pass: You are done!
|
||||
|
||||
Don’t forget to commit the patch file.
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user