mirror of
https://github.com/roc-lang/roc.git
synced 2025-07-13 09:35:01 +00:00
8 lines
363 B
Bash
Executable file
8 lines
363 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
# https://vaneyckt.io/posts/safer_bash_scripts_with_set_euxo_pipefail/
|
|
set -euxo pipefail
|
|
|
|
# For non-native binaries, Zig test needs a "test command" it can use
|
|
cargo build --locked --release -p roc_wasm_interp
|
|
zig test -target wasm32-wasi-musl -O ReleaseFast src/main.zig --test-cmd ../../../../target/release/roc_wasm_interp --test-cmd-bin
|