mirror of
https://github.com/fluencelabs/registry.git
synced 2025-04-24 17:52:14 +00:00
* feat: use non-npm Fluence CLI * Replace nox version * Setup fcli in cargo tests * Fix * remove npx --------- Co-authored-by: Anatoly Laskaris <github_me@nahsi.dev>
21 lines
489 B
Bash
Executable File
21 lines
489 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -o errexit -o nounset -o pipefail
|
|
|
|
# set current working directory to script directory to run script from everywhere
|
|
cd "$(dirname "$0")"
|
|
|
|
# Build the service
|
|
./service/build.sh
|
|
|
|
DISTRO_TARGET=distro/registry-service
|
|
mkdir -p "$DISTRO_TARGET"
|
|
|
|
cd ./aqua
|
|
fluence aqua -i ../spell/spell.aqua --no-relay --air -o "../$DISTRO_TARGET/air"
|
|
cd -
|
|
|
|
cp service/artifacts/registry.wasm service/artifacts/sqlite3.wasm distro/Config.toml "$DISTRO_TARGET"
|
|
|
|
cd distro
|
|
cargo build
|