From 12620af3ad6ff045fa32b92dec73d8957b15a88d Mon Sep 17 00:00:00 2001 From: Josh Elkins Date: Thu, 8 Feb 2024 15:13:47 -0600 Subject: [PATCH] Fix spacing between tool versions --- scripts/ci_steps/log_tool_versions.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/scripts/ci_steps/log_tool_versions.sh b/scripts/ci_steps/log_tool_versions.sh index 9ed4775d183..136737a733b 100755 --- a/scripts/ci_steps/log_tool_versions.sh +++ b/scripts/ci_steps/log_tool_versions.sh @@ -2,16 +2,18 @@ set -e +echo + # Log CPU for hardware in use, if running on Mac if [[ "$OSTYPE" == "darwin"* ]]; then which sysctl sysctl -a | grep machdep.cpu || true - echo else echo "sysctl not run (not a Mac)" fi +echo # Log location & version for swiftc, xcodebuild, java, xcbeautify @@ -19,34 +21,33 @@ if command -v swiftc &> /dev/null then which swiftc swiftc --version - echo else echo "swiftc not installed" fi +echo if command -v xcodebuild &> /dev/null then which xcodebuild xcodebuild -version - echo else echo "xcodebuild not installed" fi +echo if command -v java &> /dev/null then which java java --version - echo else echo "java not installed" fi +echo if command -v xcbeautify &> /dev/null then which xcbeautify xcbeautify --version - echo else echo "xcbeautify not installed" fi