mirror of
https://github.com/roc-lang/roc.git
synced 2024-10-05 14:47:18 +03:00
10 lines
271 B
Bash
Executable File
10 lines
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 |