tiktoktak/client/build.sh
2026-02-10 13:30:36 +01:00

17 lines
587 B
Bash
Executable file

#!/bin/bash
echo "Building TicTacToe Standalone Client..."
mvn clean package
if [ $? -eq 0 ]; then
echo "--------------------------------------------------"
echo "Build Successful!"
echo "You can run the client with default settings (dokploy.lona-development.org):"
echo "java -jar target/client-1.0-SNAPSHOT.jar"
echo ""
echo "Or specify a custom host and port (e.g. for local testing):"
echo "java -jar target/client-1.0-SNAPSHOT.jar localhost 1870"
echo "--------------------------------------------------"
else
echo "Build Failed!"
exit 1
fi