diff options
author | Be <be@mixxx.org> | 2020-11-24 12:49:58 -0600 |
---|---|---|
committer | Be <be@mixxx.org> | 2020-11-24 12:49:58 -0600 |
commit | 6ad05768017a3cd9a5f07b1df95f412296f54930 (patch) | |
tree | 6c52db0b1c7433a9f6592792e0d5d39a3e0f2e39 | |
parent | 44873f159efd7a27f8b81c52ac320957d1a34cbf (diff) |
macos_buildenv.sh: improve interactive feedback
-rwxr-xr-x | tools/macos_buildenv.sh | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/tools/macos_buildenv.sh b/tools/macos_buildenv.sh index 1edb233867..f36f5292e4 100755 --- a/tools/macos_buildenv.sh +++ b/tools/macos_buildenv.sh @@ -59,8 +59,10 @@ case "$COMMAND" in echo "Got $OBSERVED_SHA256" exit 1 fi + echo "" echo "Extracting ${BUILDENV_NAME}.tar.gz..." - tar xf "${BUILDENV_PATH}.tar.gz" -C "${BUILDENV_BASEPATH}" + tar xf "${BUILDENV_PATH}.tar.gz" -C "${BUILDENV_BASEPATH}" && \ + echo "Successfully extracted ${BUILDENV_NAME}.tar.gz" else echo "Build environment $BUILDENV_NAME not found in mixxx repository, run the command below to download it." echo "source ${THIS_SCRIPT_NAME} setup" @@ -83,6 +85,14 @@ case "$COMMAND" in echo "Qt5_DIR=${Qt5_DIR}" echo "QT_QPA_PLATFORM_PLUGIN_PATH=${QT_QPA_PLATFORM_PLUGIN_PATH}" } >> "${GITHUB_ENV}" + elif [ "$1" != "--profile" ]; then + echo "" + echo "Exported environment variables:" + echo "MACOSX_DEPLOYMENT_TARGET=${MACOSX_DEPLOYMENT_TARGET}" + echo "CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}" + echo "PATH=${PATH}" + echo "Qt5_DIR=${Qt5_DIR}" + echo "QT_QPA_PLATFORM_PLUGIN_PATH=${QT_QPA_PLATFORM_PLUGIN_PATH}" fi ;; esac |