mirror of
https://codeberg.org/andyscott/ziglings.git
synced 2024-12-22 22:13:11 -05: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:
commit
cbf265ab98
1 changed files with 6 additions and 1 deletions
|
@ -42,8 +42,13 @@ do
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# Test the correct formatting of the healed exercises.
|
||||||
echo "Looking for non-conforming code formatting..."
|
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.
|
# Test the healed exercises. May the compiler have mercy upon us.
|
||||||
zig build -Dhealed
|
zig build -Dhealed
|
||||||
|
|
Loading…
Reference in a new issue