Commit graph

15 commits

Author SHA1 Message Date
Manlio Perillo
2f174bb0ba eowyn.sh: remove checking formatting one file at a time
This avoids unnecessary output.
Also remove the comment, since the message to stdout makes it
unnecessary.
2023-04-29 16:59:33 +02:00
Chris Boesch
c659ac077f Version number added. 2023-04-25 23:34:56 +02:00
Chris Boesch
a7d42a4f57 Added a loop for the formatting test, so we can see where errors happen. 2023-04-25 23:21:01 +02:00
Manlio Perillo
c76ec7ecf6 eowyn.sh: set the -e option
Currently, `zig fmt` exit status is ignored, making it useless.
Ensure that the script terminates early if there is an error.

Print a message to stdout before executing `zig fmt`, in order to make
the possible error more visible.
2023-04-25 14:52:05 +02:00
Manlio Perillo
888e030693 eowyn: always quote variables
Quote all the variables, even though we know that it is safe.

Fix coding style.
2023-04-25 12:58:46 +02:00
Manlio Perillo
bd777dcd68 eowyn: run zig fmt --check before zig build
Update the eowyn.sh script to check the healed exercises formatting,
before running `zig build`.
2023-04-18 18:16:19 +02:00
Dave Gauer
9de772c74d Merge branch 'ci' of https://github.com/mattnite/ziglings into mattnite-ci
eowyn.sh has changed, conflict resolved
2021-03-12 20:10:20 -05:00
Dave Gauer
83e235cf1b Patch/test scripts now run from project root
This simplifies everything and makes everything good.

(Shell scripts need to be as simple as possible for maximum
compatibility.)
2021-03-12 19:59:17 -05:00
Matt Knight
45c6440bb2 remove realpath 2021-03-06 15:24:03 -08:00
Matt Knight
1f85c2d272 need to change shebang to bash because we're using bashisms 2021-03-06 15:21:18 -08:00
Matt Knight
6861626b51 added set -e 2021-03-06 15:19:26 -08:00
Dave Gauer
71dd4ff1ae POSIX shell fixes 2021-03-06 18:10:24 -05:00
jacob gw
54f9cfc0f0 patches: make interpreter compat and make work if not in PATH 2021-03-01 23:41:34 -05:00
Dave Gauer
44ccf4a0eb Patches to patches to clean up patches 2021-02-14 20:26:57 -05:00
Dave Gauer
6ccd55729e Added testing ability
For the full details, see patches/README.md :-)
2021-02-14 18:36:09 -05:00