roc/compiler/builtins/bitcode/run-tests.sh
2021-06-08 17:37:33 +02:00

9 lines
263 B
Bash
Executable file

#!/bin/bash
set -euxo pipefail
# Test every zig
zig build test
# fmt every zig
find src/*.zig -type f -print0 | xargs -n 1 -0 zig fmt --check || (echo "zig fmt --check FAILED! Check the previuous lines to see which files were improperly formatted." && exit 1)