formating contributing

This commit is contained in:
Chris Boesch 2025-08-25 21:46:25 +02:00
parent 0dbe83b20e
commit e12ee5cb9e
No known key found for this signature in database
GPG Key ID: 8712DF4D3E364668

View File

@ -12,10 +12,10 @@ the current Zig snapshot, setup a copy of Ziglings, and knows
common language building blocks (if/then/else, loops, and common language building blocks (if/then/else, loops, and
functions) is ready for Ziglings. functions) is ready for Ziglings.
Ziglings is intended to be completely self-contained. If you Zigling's excercises are self-contained. If you can't solve
can't solve an exercise from the information you've gleaned so an exercise from the information you've gleaned so far from
far from Ziglings, then the exercise probably needs some Ziglings, then the exercise probably needs some additional work.
additional work. Please file an issue! Please file an issue!
If an example doesn't match a description or if something is If an example doesn't match a description or if something is
unclear, please file an issue! unclear, please file an issue!
@ -102,15 +102,12 @@ its patch too. Thats 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>`<br>
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`<br>
If all tests pass: You are done! If all tests pass: You are done!
Dont forget to commit the patch file. Dont forget to commit the patch file.