#!/usr/bin/env bash
set -e
cd "$(dirname "$0")"

echo "Building herolib-web..."
cargo build --release

echo "Running tests..."
cargo test --release

echo "Generating documentation..."
cargo doc --no-deps --release

echo "Running clippy..."
cargo clippy --release -- -D warnings

echo "Build complete."
