14 lines
315 B
Bash
14 lines
315 B
Bash
#!/bin/bash
|
|
|
|
# Navigate to the project directory
|
|
cd "$(dirname "$0")"
|
|
|
|
# Compile the project using the Haxe compiler with the specified build.hxml configuration
|
|
haxe build.hxml
|
|
|
|
# Check if the compilation was successful
|
|
if [ $? -eq 0 ]; then
|
|
echo "Compilation successful!"
|
|
else
|
|
echo "Compilation failed!"
|
|
fi |