2025-04-10 03:19:07 +02:00

15 lines
426 B
Bash
Executable File

#!/bin/bash
# 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
# Run the compiled project
# We need to run ApplicationMain-debug within the bin/cpp directory as the current working directory
(cd ./bin/cpp; ./ApplicationMain-debug)