#!/usr/bin/env bash set -euo pipefail cd "$(dirname "$0")/.." echo "· rust fmt" cargo fmt --all -- --check echo "· clippy" cargo clippy --workspace --all-targets -- -D warnings echo "· rust tests" cargo test --workspace echo "· svelte check" npm --prefix ui run check echo "· surface build" npm --prefix ui run build echo echo "all checks passed"