#!/usr/bin/env bash set -eu dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" cd "$dir" cargo +nightly fmt -- --check cargo build --release cp "${CARGO_TARGET_DIR:-./target}/release/mtd-vat" ~/bin/mtd-vat ls -lh ~/bin/mtd-vat