#!/bin/bash
set -euo pipefail
echo "Installing package in editable mode..."
python3 -m pip install -e .
echo "Running tests..."
pytest -q
echo "Building package..."
python3 -m build
echo "All tests passed and package built."