#!/bin/bash

# Run script for herolib-ai
# Builds and runs the tests

set -e

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

echo "Building herolib-ai..."
cargo build

echo ""
echo "Running tests..."
cargo test

echo ""
echo "All tests passed!"
