Stable state
This commit is contained in:
9
standalone-openfl-app/compile.sh
Normal file → Executable file
9
standalone-openfl-app/compile.sh
Normal file → Executable file
@@ -1,8 +1,5 @@
|
||||
#!/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
|
||||
|
||||
@@ -11,4 +8,8 @@ if [ $? -eq 0 ]; then
|
||||
echo "Compilation successful!"
|
||||
else
|
||||
echo "Compilation failed!"
|
||||
fi
|
||||
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)
|
||||
Reference in New Issue
Block a user