mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-09 06:38:04 +00:00
11 lines
278 B
Bash
Executable file
11 lines
278 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
# https://vaneyckt.io/posts/safer_bash_scripts_with_set_euxo_pipefail/
|
|
set -euxo pipefail
|
|
|
|
# set the working directory to the directory of the script
|
|
cd "$(dirname "$0")"
|
|
|
|
cargo build -p rust-platform
|
|
|
|
cp ../../../target/debug/librustplatform.a ./libhost.a
|