summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Boesch <chrboesch@noreply.codeberg.org>2025-08-24 16:31:54 +0200
committerChris Boesch <chrboesch@noreply.codeberg.org>2025-08-24 16:31:54 +0200
commitd4215ce5c6c3db13d2e3473b81d363256f03b367 (patch)
tree20ab6ee0984b8290c718d4d07bcb769696cc7d32
parentb3178e81a8bd43addbfc31ab29f511cb75940201 (diff)
parentfd9e9aa36ecd5af9801c5606b77f08ef63fda893 (diff)
Merge pull request 'Added instructions for patch files' (#298) from gollum into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/298
-rw-r--r--CONTRIBUTING.md10
1 files changed, 6 insertions, 4 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 243de09..8c71b08 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -98,16 +98,18 @@ has a patch in `patches/healed` that “heals” it.
When you change an exercise, you’ll 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/.
- 2. Put your solved version of the exercise file in there.
+ 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>`
- For example: ./patches/gollum 106
+
+ For example: `./patches/gollum 106`
This will generate a shiny new patch.
Double-check everything by asking the magical Eowyn:
- `./patches/eowyn`
+`./patches/eowyn`
If all tests pass: 🎉 You’re done!
+
Don’t forget to commit the patch file.