From 0ac3646e9cdcb997c7cfd92a603cd1f0b27084b1 Mon Sep 17 00:00:00 2001 From: Chris Boesch 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