Redo the jq presence test

pull/164/head
Aaron Trudeau 2023-06-10 15:43:00 -04:00
parent edae3e734b
commit 32aa19cfcc
No known key found for this signature in database
GPG Key ID: 5EA8D416A3C71A20
1 changed files with 6 additions and 0 deletions

View File

@ -43,6 +43,12 @@ echo "Using Unity version \"$UNITY_VERSION\" to test."
if [ "$PACKAGE_MODE" = "true" ]; then
echo "Running tests on a Unity package rather than a Unity project."
if ! command -v jq &> /dev/null
then
echo "jq could not be found. This is required for package mode, and is likely the result of using a custom Docker image. Please use the default image or install jq to your custom image."
exit 1
fi
echo ""
echo "###########################"
echo "# Package Folder #"