#!/bin/bash
echo "Building AI Client..."
mvn clean package

if [ $? -eq 0 ]; then
    echo "--------------------------------------------------"
    echo "Build Successful!"
    echo "Run AI Client:"
    echo "java -jar target/ai-client-1.0-SNAPSHOT.jar [host] [port]"
    echo "--------------------------------------------------"
else
    echo "Build Failed!"
    exit 1
fi
