aboutsummaryrefslogtreecommitdiff
path: root/patches
diff options
context:
space:
mode:
authorChris Boesch <[email protected]>2023-04-25 23:21:01 +0200
committerChris Boesch <[email protected]>2023-04-25 23:21:01 +0200
commit0ac3646e9cdcb997c7cfd92a603cd1f0b27084b1 (patch)
treea34475b7796ba2d67f0e46a0290097a2b708a345 /patches
parentc43ade967796ceceb1d9fd219c8c9ace25e5b481 (diff)
downloadziglings-0ac3646e9cdcb997c7cfd92a603cd1f0b27084b1.tar.xz
ziglings-0ac3646e9cdcb997c7cfd92a603cd1f0b27084b1.zip
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