mirror of
https://github.com/fluencelabs/examples
synced 2025-04-25 02:32:16 +00:00
12 lines
372 B
Bash
Executable File
12 lines
372 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -o errexit -o nounset -o pipefail
|
|
|
|
# set current working directory to script parent directory to run script from everywhere
|
|
cd "$(dirname "$0")"/..
|
|
|
|
mkdir -p artifacts
|
|
rm -f artifacts/*.wasm
|
|
marine build --release
|
|
cp target/wasm32-wasi/release/process_files.wasm artifacts/
|
|
marine aqua artifacts/process_files.wasm >../aqua/aqua/process_files.aqua
|