#!/bin/bash
set -e

# Change to script directory
cd "$(dirname "$0")"

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

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

echo "Build complete!"
