Dave Gauer 03a09639c6 Added testing ability 4 years ago
..
01_hello.patch 03a09639c6 Added testing ability 4 years ago
02_std.patch 03a09639c6 Added testing ability 4 years ago
03_assignment.patch 03a09639c6 Added testing ability 4 years ago
04_arrays.patch 03a09639c6 Added testing ability 4 years ago
05_arrays2.patch 03a09639c6 Added testing ability 4 years ago
06_strings.patch 03a09639c6 Added testing ability 4 years ago
07_strings2.patch 03a09639c6 Added testing ability 4 years ago
08_quiz.patch 03a09639c6 Added testing ability 4 years ago
09_if.patch 03a09639c6 Added testing ability 4 years ago
10_if2.patch 03a09639c6 Added testing ability 4 years ago
11_while.patch 03a09639c6 Added testing ability 4 years ago
12_while2.patch 03a09639c6 Added testing ability 4 years ago
13_while3.patch 03a09639c6 Added testing ability 4 years ago
14_while4.patch 03a09639c6 Added testing ability 4 years ago
15_for.patch 03a09639c6 Added testing ability 4 years ago
16_for2.patch 03a09639c6 Added testing ability 4 years ago
17_quiz2.patch 03a09639c6 Added testing ability 4 years ago
18_functions.patch 03a09639c6 Added testing ability 4 years ago
19_functions2.patch 03a09639c6 Added testing ability 4 years ago
20_quiz3.patch 03a09639c6 Added testing ability 4 years ago
21_errors.patch 03a09639c6 Added testing ability 4 years ago
22_errors2.patch 03a09639c6 Added testing ability 4 years ago
23_errors3.patch 03a09639c6 Added testing ability 4 years ago
24_errors4.patch 03a09639c6 Added testing ability 4 years ago
25_errors5.patch 03a09639c6 Added testing ability 4 years ago
26_hello2.patch 03a09639c6 Added testing ability 4 years ago
27_defer.patch 03a09639c6 Added testing ability 4 years ago
28_defer2.patch 03a09639c6 Added testing ability 4 years ago
29_errdefer.patch 03a09639c6 Added testing ability 4 years ago
30_switch.patch 03a09639c6 Added testing ability 4 years ago
31_switch2.patch 03a09639c6 Added testing ability 4 years ago
32_unreachable.patch 03a09639c6 Added testing ability 4 years ago
33_iferror.patch 03a09639c6 Added testing ability 4 years ago
34_quiz4.patch 03a09639c6 Added testing ability 4 years ago
35_enums.patch 03a09639c6 Added testing ability 4 years ago
36_enums2.patch 03a09639c6 Added testing ability 4 years ago
37_structs.patch 03a09639c6 Added testing ability 4 years ago
38_structs2.patch 03a09639c6 Added testing ability 4 years ago
39_pointers.patch 03a09639c6 Added testing ability 4 years ago
40_pointers2.patch 03a09639c6 Added testing ability 4 years ago
41_pointers3.patch 03a09639c6 Added testing ability 4 years ago
42_pointers4.patch 03a09639c6 Added testing ability 4 years ago
43_pointers5.patch 03a09639c6 Added testing ability 4 years ago
44_quiz5.patch 03a09639c6 Added testing ability 4 years ago
45_optionals.patch 545573fc84 Added ex 45 optionals 4 years ago
README.md 03a09639c6 Added testing ability 4 years ago
eowyn.sh 03a09639c6 Added testing ability 4 years ago
gollum.sh 03a09639c6 Added testing ability 4 years ago

README.md

No Peeking! :-)

Welcome to the ziglings/patches directory. This is how ziglings is tested.

The patches fix the broken exercises so that they work again, which means the answers are here, so no peeking!

Éowyn

A Bash shell script named eowyn.sh dwells here. She heals the little broken programs and places them in a healed directory, which is not committed to the repo.

$ ./eowyn.sh

(If you invoke her from elsewhere, she'll come here to ply her trade.)

The build.zig build script at the heart of Ziglings has a top-secret option which tells it to test from the patches/healed/ dir rather than exercises/:

$ zig build -Dhealed [step]

Éowyn tests all healed programs using this secret option.

Gollum

Another Bash shell script named gollum.sh may also be found. He snatches the original answers and stows them in his secret answers stash. If you leave him alone, he'll leave you alone.