You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Chris Boesch 67f87a76c2
Nobody wants the long version of finding out if a variable is set.
So switched to the short version with 'orelse'. ;)
4 months ago
..
patches Nobody wants the long version of finding out if a variable is set. 4 months ago
README.md Update README.md 4 years ago
eowyn.sh changed the patch files that we can also use them with busybox for testing in Woodpecker 11 months ago
frodo.sh changed the patch files that we can also use them with busybox for testing in Woodpecker 11 months ago
gollum.sh changed the patch files that we can also use them with busybox for testing in Woodpecker 11 months 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.

$ patches/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.