summaryrefslogtreecommitdiffstatshomepage
path: root/patches
diff options
context:
space:
mode:
authorChris Boesch <chrboesch@noreply.codeberg.org>2023-04-25 21:23:02 +0000
committerGitHub <noreply@github.com>2023-04-25 21:23:02 +0000
commitcbf265ab981c8b8788e62205e38144a32f8aa09c (patch)
treea34475b7796ba2d67f0e46a0290097a2b708a345 /patches
parentc43ade967796ceceb1d9fd219c8c9ace25e5b481 (diff)
parent0ac3646e9cdcb997c7cfd92a603cd1f0b27084b1 (diff)
Merge pull request #257 from chrboesch/eowyn
Added a loop for the formatting test, so we can see where errors happen.
Diffstat (limited to 'patches')
-rwxr-xr-xpatches/eowyn.sh7
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