#!/bin/bash

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

set -e

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

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

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

echo ""
echo "All tests passed!"
