use openrct2-cli during macOS CI runs for run-tests

This commit is contained in:
adam-bloom 2021-03-21 16:54:33 -06:00
parent c9d1a2ed89
commit d2ce68aed9
1 changed files with 5 additions and 1 deletions

View File

@ -11,7 +11,11 @@ cd $basedir/bin
# Scan objects first so that does not happen within a test
echo -e "\033[0;36mBuilding OpenRCT2 repository indexes...\033[0m"
./openrct2 scan-objects
if [[ $(uname) == "Darwin" ]]; then
./openrct2-cli scan-objects
else
./openrct2 scan-objects
fi
if [[ "$OSTYPE" == "cygwin" || "$OSTYPE" == "msys" ]]; then
# Now run all the tests