mirror of
https://github.com/roc-lang/roc.git
synced 2025-07-07 22:55:00 +00:00
10 lines
No EOL
271 B
Bash
Executable file
10 lines
No EOL
271 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
# https://vaneyckt.io/posts/safer_bash_scripts_with_set_euxo_pipefail/
|
|
set -euxo pipefail
|
|
|
|
for file in crates/compiler/builtins/roc/*.roc; do
|
|
if grep -qE '^\s*expect' "$file"; then
|
|
cargo run --locked --release -- test "$file"
|
|
fi
|
|
done |