Check zig formatting after running tests

This commit is contained in:
Richard Feldman 2020-12-01 20:27:34 -05:00
parent b7b9fe16d9
commit 1b6acf60bd

View file

@ -4,3 +4,6 @@ set -euxo pipefail
# Test every zig
find src/*.zig -type f -print0 | xargs -n 1 -0 zig test --library c
# fmt every zig
find src/*.zig -type f -print0 | xargs -n 1 -0 zig fmt --check