1
0
mirror of https://github.com/ratfactor/ziglings synced 2024-09-26 19:40:47 +02:00

Merge pull request #257 from chrboesch/eowyn

Added a loop for the formatting test, so we can see where errors happen.
This commit is contained in:
Chris Boesch 2023-04-25 21:23:02 +00:00 committed by GitHub
commit bd6054f3f3
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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