changed algo. added build
Some checks failed
Maven Build / build (push) Has been cancelled

This commit is contained in:
rattatwinko
2025-06-04 20:33:40 +02:00
parent 776c63f185
commit 22dc79c021
2 changed files with 75 additions and 0 deletions

18
build.sh vendored Executable file
View File

@@ -0,0 +1,18 @@
#!/bin/bash
# Universal build script for Maven and Gradle projects
echo "Current directory: $(pwd)"
# Check if Maven is installed
if ! command -v mvn &> /dev/null; then
echo "Maven not found, installing..."
sudo apt-get update
sudo apt-get install -y maven
fi
echo "Maven version: $(mvn --version)"
echo "Building Maven project: HamiltonianSnakeAI"
mvn clean package -f "./pom.xml"
echo "Build complete. Build artifacts should be in their respective target/ or build/libs/ directories."