diff options
| author | Chris Boesch <[email protected]> | 2023-04-25 23:21:01 +0200 |
|---|---|---|
| committer | Chris Boesch <[email protected]> | 2023-04-25 23:21:01 +0200 |
| commit | 0ac3646e9cdcb997c7cfd92a603cd1f0b27084b1 (patch) | |
| tree | a34475b7796ba2d67f0e46a0290097a2b708a345 | |
| parent | c43ade967796ceceb1d9fd219c8c9ace25e5b481 (diff) | |
| download | ziglings-0ac3646e9cdcb997c7cfd92a603cd1f0b27084b1.tar.xz ziglings-0ac3646e9cdcb997c7cfd92a603cd1f0b27084b1.zip | |
Added a loop for the formatting test, so we can see where errors happen.
| -rwxr-xr-x | patches/eowyn.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/patches/eowyn.sh b/patches/eowyn.sh index 0c3b299..82857ea 100755 --- a/patches/eowyn.sh +++ b/patches/eowyn.sh @@ -42,8 +42,13 @@ do fi done +# Test the correct formatting of the healed exercises. echo "Looking for non-conforming code formatting..." -zig fmt --check patches/healed +for healed in patches/healed/*.zig +do + echo Check $(basename "$healed") + zig fmt --check "$healed" +done # Test the healed exercises. May the compiler have mercy upon us. zig build -Dhealed |
