Skip to content

Commit

Permalink
fix: set GODOT_BIN
Browse files Browse the repository at this point in the history
  • Loading branch information
russmatney committed Jan 11, 2024
1 parent e123ab4 commit 3950947
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions addons/gdUnit4/runtest.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
#!/bin/sh

if [ -z "$GODOT_BIN" ]; then
echo "'GODOT_BIN' is not set."
echo "Please set the environment variable 'export GODOT_BIN=/Applications/Godot.app/Contents/MacOS/Godot'"
exit 1
GODOT_BIN=$(which godot)
# echo "'GODOT_BIN' is not set."
# echo "Please set the environment variable 'export GODOT_BIN=/Applications/Godot.app/Contents/MacOS/Godot'"
# exit 1
fi

$GODOT_BIN --path . -s -d ./addons/gdUnit4/bin/GdUnitCmdTool.gd $*
Expand Down

0 comments on commit 3950947

Please sign in to comment.