mirror of
https://github.com/fluencelabs/trust-graph
synced 2024-12-04 15:20:19 +00:00
16 lines
387 B
Bash
16 lines
387 B
Bash
|
#!/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
|