From a7d42a4f57d15423ba2d9d9def162d973ec18967 Mon Sep 17 00:00:00 2001 From: Chris Boesch <48591413+chrboesch@users.noreply.github.com> Date: Tue, 25 Apr 2023 23:21:01 +0200 Subject: [PATCH] Added a loop for the formatting test, so we can see where errors happen. --- patches/eowyn.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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