mirror of
https://codeberg.org/ziglings/exercises.git
synced 2025-09-20 22:55:38 +00:00
Added instructions for patch files
This commit is contained in:
parent
c36fe8007d
commit
fd9e9aa36e
|
@ -98,16 +98,18 @@ 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’ll usually need to update
|
||||||
its patch too. That’s where our little helper Gollum comes in:
|
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.
|
2. Put your solved version of the exercise file in there
|
||||||
3. Back in the root, run:
|
3. Back in the root, run:
|
||||||
`./patches/gollum <exercise-number>`
|
`./patches/gollum <exercise-number>`
|
||||||
For example: ./patches/gollum 106
|
|
||||||
|
For example: `./patches/gollum 106`
|
||||||
This will generate a shiny new patch.
|
This will generate a shiny new patch.
|
||||||
|
|
||||||
Double-check everything by asking the magical Eowyn:
|
Double-check everything by asking the magical Eowyn:
|
||||||
`./patches/eowyn`
|
`./patches/eowyn`
|
||||||
|
|
||||||
If all tests pass: 🎉 You’re done!
|
If all tests pass: 🎉 You’re done!
|
||||||
|
|
||||||
Don’t forget to commit the patch file.
|
Don’t forget to commit the patch file.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user