mirror of
https://github.com/fluencelabs/trust-graph
synced 2024-12-03 14:50:20 +00:00
16 lines
389 B
Bash
Executable File
16 lines
389 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/init_certs.json service/artifacts/trust-graph.wasm service/artifacts/sqlite3.wasm distro/Config.toml "$TARGET"
|
|
|
|
cd distro
|
|
cargo build
|