mirror of
https://github.com/ratfactor/ziglings
synced 2024-05-26 20:26:03 +02:00
Added a loop for the formatting test, so we can see where errors happen.
This commit is contained in:
parent
badf1981cd
commit
a7d42a4f57
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue