From 9d87117cdad82e822ac93aaef4f4a5076323ee76 Mon Sep 17 00:00:00 2001
From: Dariusz Rybicki <dariusz@elixxir.io>
Date: Mon, 29 Aug 2022 23:31:45 +0100
Subject: [PATCH] Update run-tests script

---
 run-tests.sh | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/run-tests.sh b/run-tests.sh
index 107defb3..5e029cdc 100755
--- a/run-tests.sh
+++ b/run-tests.sh
@@ -1,6 +1,9 @@
 #!/bin/sh
 set -e
 
+echo "\n\033[1;32mâ–¶ Xcode version\033[0m"
+xcodebuild -version
+
 if [ ! -n "$1" ]; then
 
   echo "\n\033[1;32mâ–¶ Running package tests on iOS Simulator...\033[0m"
@@ -13,7 +16,7 @@ elif [ "$1" = "examples" ]; then
 
 else
 
-  echo "Invalid option. Usage:"
+  echo "\n\033[1;31mâ–¶ Invalid option.\033[0m Usage:"
   echo "  run-tests.sh          - Run package tests"
   echo "  run-tests.sh examples - Run examples tests"
   exit 1
-- 
GitLab