#!/usr/bin/env bash set -ex cd "$(dirname "$0")" cargo clippy cargo build cargo build-bpf if [[ $1 = -v ]]; then export RUST_LOG=gemachain=debug fi cargo test cargo test-bpf