mirror of
https://github.com/fluencelabs/trust-graph
synced 2024-12-04 15:20:19 +00:00
3ba3855892
* add distro crate --------- Co-authored-by: Anatoly Laskaris <github_me@nahsi.dev>
16 lines
387 B
Bash
Executable File
16 lines
387 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")"
|
|
|
|
./service/build.sh
|
|
|
|
TARGET="distro/trust-graph-service/"
|
|
|
|
mkdir -p "$TARGET"
|
|
cp -v ./distro/on_start.json service/artifacts/trust-graph.wasm service/artifacts/sqlite3.wasm distro/Config.toml "$TARGET"
|
|
|
|
cd distro
|
|
cargo build
|